4.2.1 Number Types
Examples: | ||||||
|
Examples: | ||||||||||
|
Examples: | ||||||
|
Examples: | ||||||||||||
|
procedure
(exact-integer? v) → boolean?
v : any/c
Examples: | ||||
|
procedure
v : any/c
Examples: | ||||
|
procedure
v : any/c
Examples: | ||||
|
procedure
(inexact-real? v) → boolean?
v : any/c
Note: the result of this function is platform-dependent, so using it in syntax transformers can lead to platform-dependent bytecode files.
procedure
(double-flonum? v) → boolean?
v : any/c
procedure
(single-flonum? v) → boolean?
v : any/c
Examples: | ||||
|
Examples: | ||||||
|
Examples: | ||||||
|
Examples: | ||||||||
|
Examples: | ||||||||
|
Examples: | ||||
|
Examples: | ||||
|
procedure
(inexact->exact z) → exact?
z : number?
Examples: | ||||
|
procedure
(exact->inexact z) → inexact?
z : number?
Examples: | ||||
|
procedure
x : real?
procedure
(real->double-flonum x) → flonum?
x : real?