More precise type for sgn. Closes PR 11424.
original commit: 2c74984fcd442fd73802244801946e2d4dd8ba8c
This commit is contained in:
parent
46cbe83ff3
commit
44e1994364
|
@ -434,7 +434,14 @@
|
|||
|
||||
;; scheme/math
|
||||
|
||||
[sgn (-Real . -> . -Real)]
|
||||
[sgn (cl->* (-Zero . -> . -Zero)
|
||||
(-ExactPositiveInteger . -> . -PositiveFixnum)
|
||||
(-ExactNonnegativeInteger . -> . -NonnegativeFixnum)
|
||||
(-ExactRational . -> . -Fixnum)
|
||||
(-Flonum . -> . -Flonum)
|
||||
(-InexactReal . -> . -InexactReal)
|
||||
(-Real . -> . -Real))]
|
||||
|
||||
[pi -NonnegativeFlonum]
|
||||
[sqr (cl->* (-> -Pos -Pos)
|
||||
(-> -Integer -Nat)
|
||||
|
|
Loading…
Reference in New Issue
Block a user