You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
457 B
20 lines
457 B
// Floating point format specifiers.
|
|
|
|
#ifndef _CL_FLOATFORMAT_H
|
|
#define _CL_FLOATFORMAT_H
|
|
|
|
#include "cln/types.h"
|
|
|
|
namespace cln {
|
|
|
|
// Float format specifier type. (Float mantissa precision in bits.)
|
|
typedef enum float_format_t {
|
|
float_format_sfloat = 17,
|
|
float_format_ffloat = 24,
|
|
float_format_dfloat = 53,
|
|
float_format_lfloat_min = ((53+intDsize-1)/intDsize)*intDsize // = round_up(53,intDsize)
|
|
};
|
|
|
|
} // namespace cln
|
|
|
|
#endif /* _CL_FLOATFORMAT_H */
|