Opened 6 years ago

Closed 4 years ago

#121 closed defect (fixed)

The semantics of expt for zero bases has been refined

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

Description

This is an R6RS change.

Change History (8)

comment:1 Changed 6 years ago by alexshinn

  • Status changed from new to decided

We voted to use the R6RS semantics.

comment:2 Changed 6 years ago by cowan

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

comment:3 Changed 5 years ago by alexshinn

  • Resolution set to fixed
  • Status changed from writing to closed

comment:4 Changed 5 years ago by alexshinn

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:5 Changed 5 years ago by alexshinn

The rationale for R6RS making this change was simply
because R6RS consistently removed "is an error" semantics.
R7RS retains "is an error" in many places, and this is
much simpler and cleaner, so we should revisit this issue.

comment:6 Changed 4 years ago by cowan

  • Status changed from reopened to decided

WG1 decided to adopt slightly modified R5RS language, thus:

The value of 0^z is 1 if (zero? z), 0 if (real-part z)
is positive, and an error otherwise.  Similarly for 0.0^z,
with inexact results.

comment:7 Changed 4 years ago by cowan

  • Status changed from decided to writing

comment:8 Changed 4 years ago by cowan

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