Works pretty nice! :)
Any way to force str to prepend the + sign to +inf?
val ("+inf") = inf
val ("-inf") = -inf
val ("+nan") = nan
val ("-nan") = -nan
val (1.0123") = 1.01229999999999998
val (1.01 23") = 1.01000000000000001
val ("inf") = inf
=============================================
Val1 = -1.00000000
Val2 = 1.00000000
Val1 < Val2
Val1 = -1.00000000
Val2 = 0.00000000
Val1 < Val2
Val1 = -1.00000000
Val2 = -1.00000000
Val1 = Val2
Val1 = 0.00000000
Val2 = 0.00000000
Val1 = Val2
Val1 = 1.00000000
Val2 = 1.00000000
Val1 = Val2
Val1 = -inf
Val2 = inf
Val1 < Val2
Val1 = inf
Val2 = inf
Val1 = Val2
Val1 = -inf
Val2 = inf
Val1 < Val2
Val1 = inf
Val2 = inf
Val1 = Val2
Val1 = nan
Val2 = inf
Val1 = Val2
Post a reply to this message
|