This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home. For a version of this page that may be more recent, see RoundInf in WG2's repo for R7RS-large.

Round­Inf

cowan
2014-12-28 10:28:35
4history
source

Results from (round (* 1.0e300 1.0e300)) (to avoid problems with Schemes that don't understand the syntax +inf.0):

Returns the argument: Racket, Gauche, MIT, Chicken (with and without the numbers egg), Bigloo, Guile, Kawa, SISC, SCM, Chez, Vicare, Ypsilon, Mosh, IronScheme, NexJ, STklos, KSi, Shoe, BDC, Rep, Schemik, Elk, VX, Spark, Dfsch, Inlab, Sagittarius

Error: Gambit, Scheme48/scsh, SISC, S7

Returns 1.0e+600: Scheme 9

Returns 0: RScheme

Returns smallest fixnum: XLisp, Sizzle

Crashes: UMB

No round: TinyScheme, Llava, FemtoLisp

No flonums: SigScheme, Dream, Oaklisp, Owl Lisp