Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-19 08:08:30

0001 // Floating point format specifiers.
0002 
0003 #ifndef _CL_FLOATFORMAT_H
0004 #define _CL_FLOATFORMAT_H
0005 
0006 #include "cln/types.h"
0007 
0008 namespace cln {
0009 
0010 // Float format specifier type. (Float mantissa precision in bits.)
0011 enum float_format_t : sintE {
0012     float_format_sfloat = 17,
0013     float_format_ffloat = 24,
0014     float_format_dfloat = 53,
0015     float_format_lfloat_min = ((53+intDsize-1)/intDsize)*intDsize, // = round_up(53,intDsize)
0016     float_format_lfloat_max = ~((sintE)(1) << (intEsize-1))
0017 };
0018 
0019 }  // namespace cln
0020 
0021 #endif /* _CL_FLOATFORMAT_H */