Subject: Re: N00b question on let
From: rpw3@rpw3.org (Rob Warnock)
Date: Wed, 29 Nov 2006 03:42:21 -0600
Newsgroups: comp.lang.lisp
Message-ID: <j4mdnTKr3JNgyPDYnZ2dnUVZ_q2dnZ2d@speakeasy.net>
Timofei Shatrov <grue@mail.ru> wrote:
+---------------
| A better example would be (-3)^3=-27
|   (- (expt 3 3)) is 27, which is not what we want.
| Inconsistency!
+---------------

Hunh? Common Lisp agrees completely with classical mathematics
in this case:

    cmu> (expt -3 3)

    -27
    cmu> (- (expt 3 3))

    -27
    cmu> 

Where's the inconsistency?


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607