More precise return type for `magnitude' (it always returns nonnegative)
This commit is contained in:
parent
cdfc4912ad
commit
e06f31c94e
|
@ -1578,10 +1578,10 @@
|
|||
(-FloatComplex . -> . -Flonum)
|
||||
(-InexactComplex . -> . -InexactReal)
|
||||
(N . -> . -Real))]
|
||||
[magnitude (cl->* (-Rat . -> . -Rat)
|
||||
(-FloatComplex . -> . -Flonum)
|
||||
(-InexactComplex . -> . -InexactReal)
|
||||
(N . -> . -Real))]
|
||||
[magnitude (cl->* (-Rat . -> . -NonNegRat)
|
||||
(-FloatComplex . -> . -NonNegFlonum)
|
||||
(-InexactComplex . -> . -NonNegInexactReal)
|
||||
(N . -> . -NonNegReal))]
|
||||
[angle (cl->* (-PosReal . -> . -Zero)
|
||||
(-FloatComplex . -> . -Flonum)
|
||||
(-InexactComplex . -> . -InexactReal)
|
||||
|
|
Loading…
Reference in New Issue
Block a user