inf -> 1.0/0.0

cvs
Doug Coleman 2006-01-27 18:30:57 +00:00
parent 5046604b01
commit 01d9faa5fa
2 changed files with 2 additions and 2 deletions

View File

@ -244,7 +244,7 @@ SYMBOL: last
: test-2integer>x-throws ( -- )
[
random-integer , random-integer , math-throw-2 nth-rand ,
random-integer dup . , random-integer dup . , math-throw-2 nth-rand dup . ,
] [ ] make interp-compile-check-catch ;
! 1-arg tests

View File

@ -34,7 +34,7 @@ SYMBOL: special-integers
{ } make \ special-integers set
: special-integers ( -- seq ) \ special-integers get ;
SYMBOL: special-floats
[ { 0.0 } % e , pi , inf , -inf , 0/0. , epsilon , epsilon neg , ]
[ { 0.0 } % e , pi , 1./0. , -1./0. , 0./0. , epsilon , epsilon neg , ]
{ } make \ special-floats set
: special-floats ( -- seq ) \ special-floats get ;
SYMBOL: special-complexes