Opened 6 years ago

Closed 5 years ago

#275 closed defect (fixed)

Support -nan.0 as a synonym for +nan.0

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


Excluding -nan.0 was an oversight on my part, and it's gratuitously incompatible with R6RS as well as current practice. Racket, Gauche, Chicken, Guile, Chez, Ikarus, Larceny, Ypsilon, STklos all support nan.0 and +nan.0 as equivalent forms. MIT, Bigloo, Scheme48/scsh, SISC, SCM, Scheme 9 don't support either form. Only Gambit and Chibi support +nan.0 but not -nan.0.

STklos prints both +nan.0 and -nan.0 as -nan.0.

Change History (5)

comment:1 Changed 6 years ago by cowan

This is a pure lexical syntax change: there is only one NaN object.

comment:2 Changed 6 years ago by cowan

The reference to nan.0 above should be to +nan.0.

Updating list: Kawa, Mosh, IronScheme, KSi, VX support both forms. SigScheme, RScheme, Scheme 7, Elk, UMB, Oaklisp, Owl Lisp support neither. So it is still only Gambit and Chibi that support +nan.0 but not -nan.0.

comment:3 Changed 5 years ago by cowan

  • Status changed from new to decided

The WG voted to adopt this proposal.

comment:4 Changed 5 years ago by cowan

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

comment:5 Changed 5 years ago by cowan

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