Re: CLLIB:REGRESS
Sam Steingold <[email protected]> Thu, 09 Sep 2004 15:04:23 -0400
| Newsgroups | gmane.lisp.clocc.general |
|---|---|
| Organization | disorganization |
| Message-ID | <[email protected]> |
> * Paolo Amoroso <[email protected]> [2004-09-08 20:56:28 +0200]: > > Am I supposed to evaluate a call to CLLIB:REGRESS like this? > > (cllib:regress '((1.0 . 1.0) (2.0 . 2.0) (3.0 . 3.0))) > > If so, I am puzzled at its result: > > CL-USER> (cllib:regress '((1.0 . 1.0) (2.0 . 2.0) (3.0 . 3.0))) > {.00000 .00000} > 0.9999999410040609d0 > CL-USER> > > I expected to get the line with slope 1 and constant 0. I'm using the > latest CLOCC CVS sources with CMUCL 19a-pre3 under Debian Woody. works on clisp just fine. should also work on CMUCL as (cllib:regress '((1d0 . 1d0) (2d0 . 2d0) (3d0 . 3d0))) because of some double-float declarations in CLLIB/math.lisp. I guess I should remove the declarations... -- Sam Steingold (http://www.podval.org/~sds) running w2k <http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/> <http://www.mideasttruth.com/> <http://www.honestreporting.com> "Syntactic sugar causes cancer of the semicolon." -Alan Perlis ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php