Skip to content

Commit a95123d

Browse files
committed
Support two-argument log.
1 parent d4f99fe commit a95123d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

typed-racket-lib/typed-racket/base-env/base-env-numeric.rkt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1696,6 +1696,7 @@
16961696

16971697
[log (cl->*
16981698
(-NonNegRat . -> . -Real)
1699+
(-NonNegRat -NonNegRat . -> . -Real)
16991700
(-FlonumZero . -> . -NegFlonum)
17001701
(-NonNegFlonum . -> . -Flonum)
17011702
(-SingleFlonumZero . -> . -NegSingleFlonum)
@@ -1706,7 +1707,8 @@
17061707
(-FloatComplex . -> . -FloatComplex)
17071708
(-SingleFlonumComplex . -> . -SingleFlonumComplex)
17081709
(-InexactComplex . -> . -InexactComplex)
1709-
(N . -> . N))]
1710+
(N . -> . N)
1711+
(N N . -> . N))]
17101712
[exp (from-cases (-Zero . -> . -One)
17111713
(map unop
17121714
(list -Flonum -SingleFlonum -InexactReal -Real

0 commit comments

Comments
 (0)