[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue: EXPT-ZERO-ZERO (Version 1)
- To: Kent M Pitman <KMP@STONY-BROOK.SCRC.Symbolics.COM>
- Subject: Re: Issue: EXPT-ZERO-ZERO (Version 1)
- From: masinter.pa@Xerox.COM
- Date: 27 Feb 89 16:48 PST
- Cc: CL-Cleanup@SAIL.Stanford.EDU, Cyphers@JASPER.SCRC.Symbolics.COM
- In-reply-to: Kent M Pitman <KMP@STONY-BROOK.SCRC.Symbolics.COM>'s message of Mon, 27 Feb 89 19:37 EST
EXPT is a Lisp function that returns only an approximation of the
mathematical function that you want it to represent.
For the case of (EXPT rational integer), however, the behavior is well
defined, and there are no "limit" contradictions to consider. It is nice
that the floating point case concides with the rational/integer case for
arguments other than 0 0, and so there is no reason to make it differ for 0
0.
"Limit" arguments are inappropriate for reasoning about the definition of
floating point functions, since the behavior of the Lisp function and the
corresponding mathematical one differs considerably as soon as you
"approach" , say, least-positive-double-float, for example.