diff --git a/src/float.cr b/src/float.cr index bdf924b268947b41f0e4f671ad17c97a0c3421ae..5d32300b9890a2305cfe499f8ca2f961771903ff 100644 --- a/src/float.cr +++ b/src/float.cr @@ -13,6 +13,7 @@ struct Float end struct Float32 + NAN = 0_f32 / 0_f32 MIN = -INFINITY MAX = INFINITY @@ -42,6 +43,7 @@ struct Float32 end struct Float64 + NAN = 0_f64 / 0_f64 MIN = -INFINITY MAX = INFINITY