mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:47:35 +00:00
LibM: Define MAXFLOAT
Looks like a POSIX extension
This commit is contained in:
parent
86ee9211be
commit
e9533da0e7
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <float.h>
|
||||
#include <limits.h>
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
|
@ -44,6 +45,7 @@ __BEGIN_DECLS
|
|||
#define HUGE_VAL 1e10000
|
||||
#define INFINITY __builtin_huge_val()
|
||||
#define NAN __builtin_nan("")
|
||||
#define MAXFLOAT FLT_MAX
|
||||
#define M_E 2.718281828459045
|
||||
#define M_PI 3.141592653589793
|
||||
#define M_PI_2 1.570796326794896
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue