Opened 6 years ago

Closed 4 years ago

#286 closed defect (fixed)

Numeric *-valued procedures for R5RS and R6RS-base compatibility

Reported by: cowan Owned by: cowan
Priority: major Milestone:
Component: WG1 - Core Keywords:
Cc:

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:2 Changed 5 years ago by cowan

  • Status changed from new to decided

The WG voted to reject the additional procedures and to roll back the regular procedures to the R5RS definitions.

comment:3 Changed 5 years ago by cowan

  • Owner changed from alexshinn to cowan
  • Status changed from decided to writing

comment:4 Changed 4 years ago by cowan

  • Resolution set to fixed
  • Status changed from writing to closed
Note: See TracTickets for help on using tickets.