# HG changeset patch
# User Tuomo Valkonen <tuomov@iki.fi>
# Date 1689884668 -10800
# Node ID e3cfc4917ee7ebab487d50a21f59f5d5dcc4224e
# Parent  50a77e4efcbba3e0b98d4265700ec5d3ecdbb547
NAN constant

diff -r 50a77e4efcbb -r e3cfc4917ee7 src/types.rs
--- a/src/types.rs	Thu Jul 20 14:51:38 2023 +0300
+++ b/src/types.rs	Thu Jul 20 23:24:28 2023 +0300
@@ -84,6 +84,7 @@
     const SQRT_2 : Self;
     const INFINITY : Self;
     const NEG_INFINITY : Self;
+    const NAN : Self;
     const FRAC_2_SQRT_PI : Self;
 }
 
@@ -133,6 +134,7 @@
     const SQRT_2 : Self = std::f64::consts::SQRT_2;
     const INFINITY : Self = std::f64::INFINITY;
     const NEG_INFINITY : Self = std::f64::NEG_INFINITY;
+    const NAN : Self = std::f64::NAN;
     const FRAC_2_SQRT_PI : Self = std::f64::consts::FRAC_2_SQRT_PI;
 }
 
@@ -150,6 +152,7 @@
     const SQRT_2 : Self = std::f32::consts::SQRT_2;
     const INFINITY : Self = std::f32::INFINITY;
     const NEG_INFINITY : Self = std::f32::NEG_INFINITY;
+    const NAN : Self = std::f32::NAN;
     const FRAC_2_SQRT_PI : Self = std::f32::consts::FRAC_2_SQRT_PI;
 }