Re: pi seems not to be a constant
Pierpaolo Bernardi <[email protected]>
| Newsgroups | gmane.lisp.clisp.general |
|---|---|
| Message-ID | <CANY8u7FK2BS0buAXGgnoiZrbdsjAUvuiWDUVp7sFF6fOFg+CEg@mail.gmail.com> |
On Sun, Oct 18, 2015 at 6:13 PM, Don Cohen <[email protected]> wrote: > > Conformity could be restored by having CL:PI defined as a constant > > variable bound to double-float, and to have another variable EXT:PI > > bound to the changing long-float value. > > Would still be not conforming. > > Although the suggestion above would not be strictly conforming, I > think it would be an improvement in that (let (pi)) would signal an > error and constantp would return the expected result. At the cost of every computation involving pi and long floats returning wrong answers! ------------------------------------------------------------------------------ _______________________________________________ clisp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/clisp-list