File: cl_floatformat.h

package info (click to toggle)
cln 0.98-7.1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 12,188 kB
  • ctags: 15,282
  • sloc: cpp: 71,545; ansic: 12,015; asm: 8,431; sh: 3,159; makefile: 886; lisp: 64
file content (16 lines) | stat: -rw-r--r-- 434 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Floating point format specifiers.

#ifndef _CL_FLOATFORMAT_H
#define _CL_FLOATFORMAT_H

#include "cl_number.h"

// Float format specifier type. (Float mantissa precision in bits.)
typedef enum cl_float_format_t {
	cl_float_format_sfloat = 17,
	cl_float_format_ffloat = 24,
	cl_float_format_dfloat = 53,
	cl_float_format_lfloat_min = ((53+intDsize-1)/intDsize)*intDsize // = round_up(53,intDsize)
};

#endif /* _CL_FLOATFORMAT_H */