diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2017-02-17 07:48:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-17 07:48:06 +0100 |
| commit | 36986531afe3996de05640ff02088d18b24d409c (patch) | |
| tree | 27bd4f630dda96d028aa0efd7752000844ac996b /core/math/math_funcs.h | |
| parent | 903a3aa5f0e128abb1fb752c10b343b34af8f799 (diff) | |
| parent | b696beea65bbffd31edac169ccf9708f46ab9652 (diff) | |
Merge pull request #7815 from hpvb/fix-7354
Correct hash behavior for floating point numbers
Diffstat (limited to 'core/math/math_funcs.h')
| -rw-r--r-- | core/math/math_funcs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/math/math_funcs.h b/core/math/math_funcs.h index 511af91835..51877891e3 100644 --- a/core/math/math_funcs.h +++ b/core/math/math_funcs.h @@ -39,6 +39,7 @@ #define Math_PI 3.14159265358979323846 #define Math_SQRT12 0.7071067811865475244008443621048490 #define Math_LN2 0.693147180559945309417 +#define Math_NAN NAN class Math { |