floating: Add epsilon to the RealFloat class.
[altfloat.git] / cfloat.h
blob31584f88a462d8d6586a06499732697e3d696d80
1 #ifndef CFLOAT_H_
2 #define CFLOAT_H_
4 #include <fenv.h>
6 int double_format(char *buf, char spec, int precision, double val);
7 double double_signum(double val);
8 float float_signum(float val);
9 int double_classify(double val);
10 int float_classify(float val);
11 int double_compare(double a, double b);
12 int float_compare(float a, float b);
14 int set_roundmode(int mode);
15 int get_roundmode(void);
16 int fenv_restore(fenv_t *env, unsigned *excepts);
17 int fenv_raise_excepts(unsigned excepts);
19 #endif