Commit Graph

13 Commits

Author SHA1 Message Date
JoelKatz
e3063b0495 Some small optimizations. 2013-04-07 18:34:16 -07:00
JoelKatz
b10b0f82f6 Division rounds towards zero automatically. We don't need to do anything
special in mulRound or divRound before we divide if we're rounding towards zero.
2013-04-05 19:00:24 -07:00
JoelKatz
116c89fad5 Add "round to zero" to subRound/addRound. 2013-04-02 15:07:40 -07:00
JoelKatz
3943929fe3 Remove inadvertant debug. 2013-03-20 18:29:03 -07:00
JoelKatz
98754ee962 Round XRP less aggressively. 2013-03-20 18:28:19 -07:00
JoelKatz
204fed2fba A few last details. 2013-03-11 01:00:41 -07:00
JoelKatz
495ddae438 Fixes. 2013-03-11 00:44:55 -07:00
JoelKatz
e287000438 Fixes. 2013-03-11 00:40:26 -07:00
JoelKatz
275a4a22d7 Fixes. 2013-03-10 21:55:33 -07:00
JoelKatz
466ac77527 Don't round so aggressively. 2013-03-10 21:36:00 -07:00
JoelKatz
a85b38e8e3 Bugfixes. 2013-03-10 21:33:59 -07:00
JoelKatz
31134b06b1 Only round on first scaling divide. 2013-03-10 21:30:07 -07:00
JoelKatz
27a7ac75de Add, subtract, multiply, and divide with specified rounding direction.
CAUTION: This is still untested and undebugged code. Only divRound
has been even slightly tested.
2013-03-10 21:22:01 -07:00