Timothy Stiles

Results 87 comments of Timothy Stiles

The recent changes to add/sub to improve integer arithmetic (toNumber has a similar but simpler kludge too) have tanked their performance by 4x. Would be nice to either have the...

Transport Defender has a really neat add that I need to check for performance/accuracy. ``` public static BigNum operator +(BigNum bn1, BigNum bn2) { long num = Math.Abs(bn1.Exponent - bn2.Exponent);...

sqrt, cbrt, sqr, cube are all replaced with their fast track version. in pow itself, fast track 1 is neutral for performance over random pows, fast track 2 is detrimental...

For comparison, SpeedCrunch’s pow is: https://bitbucket.org/heldercorreia/speedcrunch/src/9cffa7b674890affcb877bfebc81d39c26b20dcc/src/math/floatpower.c?at=master&fileviewer=file-view-default https://bitbucket.org/heldercorreia/speedcrunch/src/9cffa7b674890affcb877bfebc81d39c26b20dcc/src/math/floatipower.c?at=master&fileviewer=file-view-default 1) if the exponent is integer, do an integer pow (described in floatipower.c) 2) else do exp(ln(x)*exponent) With no other fast tracks. Todo:...

I don't have any particular inspiration for an interesting way to go past break_eternity.js's limit atm. (The main problem is that hyper 4 operator continuousness is only belatedly reached using...

https://github.com/Patashu/break_eternity.js/issues/46

If break_infinity.js is lacking a function you need to swap it onto decimal.js, let me know what it is and I will add it.

* agreed on infinity representation * not sure how to fix rounding in general, would appreciate your thoughts. maybe how did you fix it in BreakInifnity.cs? * yeah should figure...