proposal-decimal
proposal-decimal copied to clipboard
Built-in exact decimal numbers for JavaScript
Assuming that the rounding mode "halfEven" corresponds to the IEEE rounding mode "roundTiesToEven", it looks like "halfCeil" is meant to correspond to "roundTiesToAway". However, because "ceiling" usually means rounding "toward...
Don't do it.
TL;DR: I'm very skeptical of this proposal. I'll try to explain why below. In summary, I believe that the use cases are nicely served by user-space libraries, and libraries would...
Can we set up a video meeting to discuss how to formalize Decimal numbers and the algorithms involving those in the spec? I'd like to ensure that the spec is...
The remainder operation should be specified the same way as for Numbers. The remainder operation in IEEE 754 is designed to have nice properties for numeric experts. It's confusing to...
I can't find compare_total in my copy of IEEE 754, and, amazingly, a Google search returns nothing at all for IEEE 754 compare_total. Nor do I see it in the...
*****EDIT: I seem to have misunderstood Waldemar's proposal; see https://github.com/littledan/proposal-bigdecimal/issues/12#issuecomment-557747582 for clarification.***** In [this post](https://mail.mozilla.org/pipermail/es-discuss/2008-August/007244.html), @waldemarhorwat proposed that `BigDecimal.prototype.toString()` (and presumably ToString applied to BigDecimal) should cut off all trailing...
I'd like to avoid the possibility of this proposal going through, but then we discover that it cannot easily be used to replace the existing OSS libraries. Would it be...
I believe decimals still have it chance to have new primitives if they're widely adopted. Therefore it's a blocking concern to me: Decimal semantics must allow future add-ons of new...
The current proposal lacks specification of conversions between Decimals and strings. It has callouts to things such as "IEEE 754's convertToDecimalCharacter", which is not a specification. IEEE 754's convertToDecimalCharacter simply...
Editorial bugs: In a number of places the proposal mentions converting Decimal ±∞ to Mathematical Values. That's forbidden by the current ECMAScript spec. Those can be converted to Extended Mathematical...