aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmath/llmath.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:04 -0500
committerJacek Antonelli2008-08-15 23:45:04 -0500
commit117e22047c5752352342d64e3fb7ce00a4eb8113 (patch)
treee32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/llmath/llmath.h
parentSecond Life viewer sources 1.18.0.6 (diff)
downloadmeta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.zip
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.gz
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.bz2
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.xz
Second Life viewer sources 1.18.1.2
Diffstat (limited to 'linden/indra/llmath/llmath.h')
-rw-r--r--linden/indra/llmath/llmath.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linden/indra/llmath/llmath.h b/linden/indra/llmath/llmath.h
index dd44e0c..9be2524 100644
--- a/linden/indra/llmath/llmath.h
+++ b/linden/indra/llmath/llmath.h
@@ -42,6 +42,9 @@
42#elif (LL_LINUX && __GNUC__ <= 2) 42#elif (LL_LINUX && __GNUC__ <= 2)
43#define llisnan(val) isnan(val) 43#define llisnan(val) isnan(val)
44#define llfinite(val) isfinite(val) 44#define llfinite(val) isfinite(val)
45#elif LL_SOLARIS
46#define llisnan(val) isnan(val)
47#define llfinite(val) (val <= std::numeric_limits<double>::max())
45#else 48#else
46#define llisnan(val) std::isnan(val) 49#define llisnan(val) std::isnan(val)
47#define llfinite(val) std::isfinite(val) 50#define llfinite(val) std::isfinite(val)