diff options
| author | maxim nikonov <maxim.nikonov@hqo.co> | 2026-02-05 15:21:34 +0500 |
|---|---|---|
| committer | maxim nikonov <maxim.nikonov@hqo.co> | 2026-02-05 15:21:34 +0500 |
| commit | db214d1145e46d527a46d1fc2519548d2c4d23f1 (patch) | |
| tree | cf0fd9922e4d54f6beb63888f9b28c8e2a787bdf /FL/math.h | |
| parent | 75fc94d6c71fe686f6dde5b41ad91cba2f6bdd6f (diff) | |
wip: fork
Diffstat (limited to 'FL/math.h')
| -rw-r--r-- | FL/math.h | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -14,18 +14,10 @@ // https://www.fltk.org/bugs.php // -// Xcode on macOS includes files by recursing down into directories. -// This code catches the cycle and directly includes the required file. -#ifdef fl_math_h_cyclic_include -# include "/usr/include/math.h" -#endif - #ifndef fl_math_h # define fl_math_h -# define fl_math_h_cyclic_include # include <math.h> -# undef fl_math_h_cyclic_include # ifndef M_PI # define M_PI 3.14159265358979323846 @@ -40,11 +32,4 @@ # define M_SQRT1_2 0.70710678118654752440 # endif // !M_SQRT2 -# if (defined(_WIN32) || defined(CRAY)) && !defined(__MINGW32__) - -inline double rint(double v) {return floor(v+.5);} -inline double copysign(double a, double b) {return b<0 ? -a : a;} - -# endif // (_WIN32 || CRAY) && !__MINGW32__ - #endif // !fl_math_h |
