Re: pi seems not to be a constant
[email protected] (Don Cohen)
| Newsgroups | gmane.lisp.clisp.general |
|---|---|
| Message-ID | <[email protected]> |
Pierpaolo Bernardi writes: > 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! Why do you think they're wrong? ------------------------------------------------------------------------------ _______________________________________________ clisp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/clisp-list