1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:38:11 +00:00

LibM: Add INFINITY macro

This commit is contained in:
Linus Groh 2020-06-04 13:05:27 +01:00 committed by Andreas Kling
parent 8a94813007
commit ead76377b0
3 changed files with 7 additions and 6 deletions

View file

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