ae2f_docs
Loading...
Searching...
No Matches
Float.h
Go to the documentation of this file.
1/**
2 * @file Float.h
3 * @brief Custom float type
4 */
5
6#ifndef ae2f_Float_h
7#define ae2f_Float_h
8
9#include "./Float.auto.h"
10#include <float.h>
11
12typedef ae2f_float ae2f_float_t;
13
14#if ae2f_float_WIDTH == 4
15#define ae2f_float_SUF(x) x##F
16#elif ae2f_float_WIDTH == 8
17#define ae2f_float_SUF(x) x
18#else
19#define ae2f_float_SUF(x) x##L
20#endif
21
22#endif
#define ae2f_CmpGetGt(a, b)
Definition Cmp.h:63
#define ae2f_CmpGetLs(a, b)
Definition Cmp.h:71
#define ae2f_constexprmethod
Definition Constexpr.h:56
#define ae2f_WhenCXX(a)
Appears when the current language is C.
Definition Cxx.h:44
#define ae2f_is_cxx
Definition Cxx.h:48
#define ae2f_WhenC(a)
Appears when the current language is C++.
Definition Cxx.h:38
#define ae2f_float
Predefined floating point type.
Definition Float.auto.h:11
#define ae2f_float_WIDTH
Definition Float.auto.h:15
#define ae2f_NONE
Definition Guide.h:11
#define ae2f_stdcc_v
Standard C++ version. .
Definition LangVer.h:34
#define __ae2f_stdcheck_CC(v)
Definition LangVer.h:50
#define ae2f_PackCount
Definition Num.auto.h:6