Re: [Scheme-reports] Rounding procedures with inf/nan
xacc.ide@gmail.com 25 Mar 2012 15:26 UTC
> 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@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports