aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index a40e8e6..0e6674d 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -38,3 +38,4 @@ pub type Float = f64;
pub const M_PI: Float = PI;
pub const NEAR_ZERO: Float = 1e-8;
+pub const INFTY: Float = f64::INFINITY;