[r6rs-discuss] [Formal] {real, rational, integer}-valued? procedures need rationale

From: John Cowan <cowan>
Date: Fri Sep 22 17:53:59 2006

Submitter: John Cowan
Email address: cowan_at_ccil.org
Issue type: Defect
Priority: Minor
Component: Base Library
Report version: 5.91
Summary: {real,rational,integer}-valued procedures need a rationale.

>From what I can make out from the examples, the *-valued? procedures
return #t if the number has an imaginary part of inexact zero, (where
real?, rational?, and integer? all rightly return #f), and real-valued? in
particular returns #f on NaN (where real? returns #t).

What are these procedures for? R6RS should say.

-- 
It was dreary and wearisome.  Cold clammy winter still held way in this
forsaken country.  The only green was the scum of livid weed on the dark
greasy surfaces of the sullen waters.  Dead grasses and rotting reeds loomed
up in the mists like ragged shadows of long-forgotten summers.
        --"The Passage of the Marshes"          http://www.ccil.org/~cowan
Received on Fri Sep 22 2006 - 16:54:30 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC