From: José H. E. <jos...@gm...> - 2009-06-23 01:02:10
|
On Jun 22, 2009, at 12:20 PM, Sam Steingold wrote: > Hi, > > José H. Espinosa wrote: >> I am tried cvs head and run the mod-check and I get the following >> errors on readline and syscalls while running make mod-check >> *** For readline: >> EVAL: variable READLINE:PREFER-ENV-WINSIZE has no value >> EVAL: undefined function READLINE:RESET-SCREEN-SIZE >> The version of readline that I am using is 5.0 > > these are from 5.2, so the errors are expected. OK > >> *** For syscalls: >> Form: (FLOAT= (ERF -3) -0.9999779095030014d0) >> CORRECT: T >> CLISP : NIL >> Form: (FLOAT= (ERF -1) -0.8427007929497149d0) >> CORRECT: T >> CLISP : NIL >> Form: (FLOAT= (ERF 1) 0.8427007929497149d0) >> CORRECT: T >> CLISP : NIL >> Form: (FLOAT= (ERF 3) 0.9999779095030014d0) >> CORRECT: T >> CLISP : NIL >> Form: (FLOAT= (ERFC 1) 0.15729920705028513d0) >> CORRECT: T >> CLISP : NIL >> Form: (FLOAT= (ERFC 6) 2.1519736712498916d-17) >> CORRECT: T >> CLISP : NIL >> Form: (FLOAT= (ERFC 7) 4.183825607779414d-23) >> CORRECT: T >> CLISP : NIL >> Form: (FLOAT= (ERFC 15) 7.212994172451206d-100) >> CORRECT: T >> CLISP : NIL >> Form: (FLOAT= (ERFC 18) 6.082369231816399d-143) >> CORRECT: T >> CLISP : NIL > > so, what does ERFC return on your platform? They are just rounding errors: [6]> (erfc 1) 0.15729920705028516d0 [7]> (erfc 6) 2.1519736712498913d-17 [8]> (erf -3) -0.9999779095030015d0 [9]> (erf -1) -0.8427007929497148d0 [10]> (erf 1) 0.8427007929497148d0 [11]> (erf 3) 0.9999779095030015d0 [12]> (erfc 1) 0.15729920705028516d0 [13]> (erfc 6) 2.1519736712498913d-17 [14]> (erfc 7) 4.183825607779415d-23 [15]> (erfc 15) 7.212994172451208d-100 [16]> (erfc 18) 6.082369231816398d-143 But on the following code shall [4] not be also NIL? [1]> (defun float= (x y) (= y (/ (+ x y) 2))) FLOAT= [2]> (float= (os:erf -3) -0.9999779095030014d0) NIL [3]> (defun tmp (x y) (/ (+ x y) 2)) TMP [4]> (= (os:erf -3) (tmp (os:erf -3) -0.9999779095030014d0)) T > >> Form: (STRING= (SHOW (GETENV "USER")) (SHOW (FILE-OWNER *TMP1*))) >> CORRECT: T >> CLISP : NIL >> OUT: >> "NIL >> \"root\" >> " >> OS version MacOSX 10.4.11 > > why are you running as root?! > at any rate, I changed the test to fall back to user-info. > thanks. My bad ... I'm building it on fink, and it usually run as root, unless told it otherwise. It is just me being sloppy, you can revert the code if you want. > > these errors are not something to worry about. |