mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-08 04:15:23 +03:00
LibM: Define MAXFLOAT
Looks like a POSIX extension
This commit is contained in:
parent
86ee9211be
commit
e9533da0e7
Notes:
sideshowbarker
2024-07-18 21:21:28 +09:00
Author: https://github.com/RealKC Commit: https://github.com/SerenityOS/serenity/commit/e9533da0e7c Pull-request: https://github.com/SerenityOS/serenity/pull/5792
@ -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…
Reference in New Issue
Block a user