From 21812e1fd7507b0c89a3a515bc49d11c5425df73 Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Thu, 12 Dec 2019 18:04:57 +0000 Subject: [PATCH] added NaN numbers --- lib/Core/Math.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Core/Math.hpp b/lib/Core/Math.hpp index 9ea5008..34e37d7 100644 --- a/lib/Core/Math.hpp +++ b/lib/Core/Math.hpp @@ -75,6 +75,7 @@ namespace MATH_NAMESPACE constexpr double pi = 3.1415926535897932384626433832795028841970; constexpr double e = 2.7182818284590452353602874713526624977572; constexpr double inf = std::numeric_limits::infinity(); + constexpr double nan = std::numeric_limits::quiet_NaN(); }