Numeric *-valued procedures for R5RS and R6RS-base compatibility
|Reported by:||cowan||Owned by:||cowan|
|Component:||WG1 - Core||Keywords:|
Description (last modified by cowan)
Real-valued?, rational-valued?, and integer-valued? test whether a given number object can be coerced to the specified type without loss of numerical accuracy. They are equivalent to the versions of real?, rational?, and integer? that existed in R5RS.
Specifically, the behavior of these predicates differs from the behavior of real?, rational?, and integer? on complex number objects whose imaginary part is inexact zero.
These procedures provide R6RS base compatibility as well.
Change History (4)
comment:1 Changed 6 years ago by cowan
- Description modified (diff)
- Summary changed from R6RS base compatibility: *-valued procedures to Numeric *-valued procedures for R5RS and R6RS-base compatibility
comment:3 Changed 5 years ago by cowan
- Owner changed from alexshinn to cowan
- Status changed from decided to writing