-
Notifications
You must be signed in to change notification settings - Fork 120
Update of PR #1217 #1837
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Update of PR #1217 #1837
Conversation
- Extra arg removed for BigInteger.prototype.{round,roundEven,tan,atan,cos,sin,expt,acos,asin} - bnpExp() should take errbacks arg and use it if exponent too large - bnModPowInt() should take errbacks arg and pass it along to bnpExp() - bnPow() should take errbacks arg and pass it along to bnpExp()
…rownplt#1799. In fact, it doesn't give up at all, because any argument that doesn't blow memory necessarily has a tractable logarithm.
…cos,tan} brownplt#1799 - num-{acos,asin,atan} don't have opportunity to trigger errbacks in method, so incorrectness (since corrected) was benign - num-{exp,expt} now show proper error (previous error was incorrect convergence, didn't even trigger errbacks) - num-log now always converges for convergent input (errbacks correctly propagated now, but impossible to trigger)
- test-numbers: use Racket value for log of large number in check block
…that can't be tested via Pyret
- improve fromString() to use itself recursively rather than makeBignum()
…ecursive fromString() calls
fromFixnum(): fix for when argument fixnum is less than about 1e-7, brownplt/code.pyret.org#556
js-numbers.js: log() for nonintegral rational arguments = log(numr) - log(denr)
I don't understand this PR -- it sounds like @shriram asked for design changes on the previous one, so either we should work on that, or we should close it. I don't understand the implementation here -- there's no mention of |
This is an update of @ess476's PR #1217 that added
map
andfilter
methods to sets.The previous PR is 7 years old and needed to be updated to mesh with the current
horizon
.This PR is a working placeholder that we should use a basis to design how we want to proceed with this.