[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
32.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 March 31, 2014 using texi2html 5.0.