Refine type for expt.
Fixes rsound.
This commit is contained in:
parent
5f39bb3647
commit
1e32397658
|
@ -1624,7 +1624,7 @@
|
|||
(-SingleFlonum -SingleFlonum . -> . (Un -SingleFlonum -SingleFlonumComplex))
|
||||
(-PosInexactReal (Un -NegFixnum -PosFixnum) . -> . -NonNegInexactReal)
|
||||
(-NonNegInexactReal (Un -NegFixnum -PosFixnum) . -> . -InexactReal)
|
||||
(-PosReal -Fixnum . -> . -NonNegReal)
|
||||
(-PosReal -Real . -> . -NonNegReal)
|
||||
(-NonNegReal -Fixnum . -> . -Real)
|
||||
(-InexactReal (Un -NegFixnum -PosFixnum) . -> . -InexactReal)
|
||||
(-InexactReal -InexactReal . -> . (Un -InexactReal -InexactComplex))
|
||||
|
|
|
@ -434,6 +434,8 @@
|
|||
(tan (real->double-flonum 6))
|
||||
(lcm (*) (exact-round -1.7976931348623153e+308) 6))
|
||||
-Number)
|
||||
(tc-e (exact->inexact (expt 10 (/ -120.0 20))) ; from rsound
|
||||
-NonNegInexactReal)
|
||||
(tc-e (flexpt 0.5 0.3) -NonNegFlonum)
|
||||
(tc-e (flexpt 0.00000000001 100000000000.0) -NonNegFlonum)
|
||||
(tc-e (flexpt -2.0 -0.5) -Flonum) ; NaN
|
||||
|
|
Loading…
Reference in New Issue
Block a user