Changes between Version 11 and Version 12 of ComplexRepresentations
 Timestamp:
 11/03/13 14:23:30 (4 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

ComplexRepresentations
v11 v12 17 17 == The imaginary part of an inexact real number == 18 18 19 The value of `(imagpart 2.0)` is exact 0: Racket, MIT, Gambit, Guile, Kawa, Chez, Vicare, Larceny, Ypsilon, Mosh, !IronScheme, STklos, RScheme , Sizzle, Spark.19 The value of `(imagpart 2.0)` is exact 0: Racket, MIT, Gambit, Guile, Kawa, Chez, Vicare, Larceny, Ypsilon, Mosh, !IronScheme, STklos, RScheme (but see below), Sizzle, Spark. 20 20 21 21 The value of `(imagpart 2.0)` is inexact 0.0: Gauche, Chicken with the numbers egg, Scheme48/scsh, SISC, Chibi, SCM, KSi, S7, UMB, SXM. 22 22 23 No `imagpart` procedure: plain Chicken,Bigloo, NexJ, Shoe, !TinyScheme, Scheme 9, BDC, XLisp, Rep, Schemik, Elk, VX, Llava, !FemtoLisp, Dfsch, Inlab.23 No `imagpart` procedure: Bigloo, NexJ, Shoe, !TinyScheme, Scheme 9, BDC, XLisp, Rep, Schemik, Elk, VX, Llava, !FemtoLisp, Dfsch, Inlab. 24 24 25 25 No inexact numbers: !SigScheme, Dream, Oaklisp, Owl Lisp. … … 27 27 Integrating both sets of results, this means that Racket, Guile, Chez, Vicare, Larceny, Ypsilon, !IronScheme, Spark behave ''as if'' they supported mixedexactness complex numbers in the case where the real part is inexact and the imaginary part is exact 0, even though they do not support mixedexactness complex numbers otherwise. 28 28 29 == Fake complex number support == 30 31 Schemes that don't support nonreal numbers can still fake support for `realpart` and `imagpart` by having the former return its argument and the latter return zero. As usual, some do and some don't: 32 33 Fake support: plain Chicken, RScheme 34 35 No support: Shoe, !TinyScheme, BDC, XLisp, Sizzle, Bigloo, Scheme 9, Elk, Rep, Owl Lisp 36 37 == See also == 38 29 39 See also NumericTower.