tc39 / proposal-decimal

Built-in exact decimal numbers for JavaScript
http://tc39.es/proposal-decimal/
497 stars 18 forks source link

Remove rounding mode option in remainder #123

Closed jessealama closed 7 months ago

jessealama commented 7 months ago

The precision of the result comes from the precision of the arguments. We do integer division until we get a clean result; any residue is the remainder.