Float::is_inf

Test if a Float is positive or negative infinity.

Type

is_inf :: Float -> Bool

Examples

println$( Float::INF.is_inf$() )
println$( Float::NEG_INF.is_inf$() )
println$( 1.2345.is_inf$() )