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:
parent
8a94813007
commit
ead76377b0
3 changed files with 7 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue