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

arcfide
2012-10-05 01:08:47
2Scheme 9 Updatehistory
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

Error: Gambit, Scheme48/scsh, SISC, Scheme 7

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