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

  1. // Floating point format specifiers.
  2. #ifndef _CL_FLOATFORMAT_H
  3. #define _CL_FLOATFORMAT_H
  4. #include "cln/types.h"
  5. namespace cln {
  6. // Float format specifier type. (Float mantissa precision in bits.)
  7. typedef enum float_format_t {
  8. float_format_sfloat = 17,
  9. float_format_ffloat = 24,
  10. float_format_dfloat = 53,
  11. float_format_lfloat_min = ((53+intDsize-1)/intDsize)*intDsize // = round_up(53,intDsize)
  12. };
  13. } // namespace cln
  14. #endif /* _CL_FLOATFORMAT_H */