LibM: Add NAN macro

This commit is contained in:
Linus Groh 2020-06-04 13:03:15 +01:00 committed by Andreas Kling
commit 8a94813007
Notes: sideshowbarker 2024-07-19 05:50:39 +09:00
3 changed files with 5 additions and 3 deletions

View file

@ -31,6 +31,7 @@
__BEGIN_DECLS
#define HUGE_VAL 1e10000
#define NAN __builtin_nan("")
#define M_E 2.718281828459045
#define M_PI 3.141592653589793
#define M_PI_2 (M_PI / 2)