petdance/scratch — Issue #25: Rounding Inf and NaN
Author: petdance
Created: 2011-11-01 04:24:38+00:00
State: open

$ ./perl6
> say ceiling(NaN)
-2147483648
> say floor(NaN)
-2147483648
> say floor(Inf)
-2147483648
> say ceiling(Inf)
-2147483648