[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
31.5.3 Genericity of arithmetic procedures
By default, arithmetic procedures are generic. This means that it is
allowed to use them with flonum and fixnum. This feature, of course,
implies performances penalty. To improve performance, you may use
specialized procedures (such as +fx
, =fx
, … or
+fl
, =fl
, …) but, it is possible to suppress the
genericity and to make all generic arithmetic procedures (=
for
example) fixnum ones. For this you must use the compiler option
-farithmetic
, or add the following module clause (option
(set! *genericity* #f))
in your module declaration.
This document was generated on October 23, 2011 using texi2html 5.0.