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.
 
 
 
 
 

21 lines
558 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.)
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)
float_format_lfloat_max = ~((sintE)(1) << (intEsize-1)) // force correct underlying type of float_format_t
};
} // namespace cln
#endif /* _CL_FLOATFORMAT_H */