1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:57:43 +00:00

LibM: Add NAN macro

This commit is contained in:
Linus Groh 2020-06-04 13:03:15 +01:00 committed by Andreas Kling
parent d315281d56
commit 8a94813007
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)