Skip to content
Snippets Groups Projects
Commit 59e55bec authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Remove old isnan isfinite hack

parent 6b55be96
No related branches found
No related tags found
No related merge requests found
......@@ -42,18 +42,8 @@
// llcommon depend on llmath.
#include "is_approx_equal_fraction.h"
// work around for Windows & older gcc non-standard function names.
#if LL_WINDOWS
#include <float.h>
#define llisnan(val) _isnan(val)
#define llfinite(val) _finite(val)
#elif (LL_LINUX && __GNUC__ <= 2)
#define llisnan(val) isnan(val)
#define llfinite(val) isfinite(val)
#else
#define llisnan(val) std::isnan(val)
#define llfinite(val) std::isfinite(val)
#endif
// Single Precision Floating Point Routines
// (There used to be more defined here, but they appeared to be redundant and
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment