[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] Rounding procedures with inf/nan



> What should happen when floor, ceiling, truncate or round get passed
> +inf.0, -inf.0 or +nan.0?

R6RS and IEEE says these should just return the same value passed to the 
procedure (from what I understand).

But throwing an error should probably be acceptable too.

Cheers

leppie 


_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports