Shane F. Carr
Shane F. Carr
@macchiati any comments on this before you disappear on vacation? (I see you already left one regarding ID stability)
I recall @macchiati stating that he was concerned about removing the CLDR 43 codes from the file and preferred them as aliases, though the CLDR Design WG seemed okay with...
CLDR-TC approved this with the following notes in https://unicode-org.atlassian.net/browse/CLDR-18369 > - Temporal was the original requester for the string era names, so we decided to align with Temporal (we don’t...
The CLDR-TC approved this PR for alignment with Temporal, so I am going to finally hit the merge button.
Release notes in #4952
The concept of "rounding errors" is misplaced. You aren't "rounding" your Number so long as toPrecision has more digits of precision than is intended to be represented. You're "rounding away"...
I'm not following what you're trying to say, then. In your post, all of these are identities: ```javascipt Number(1.05.toPrecision(3)) Number(1.15.toPrecision(3)) Number(1.25.toPrecision(3)) ``` You could have made the same point about...
I think the following ultra simple function works for typical use cases: ```javascript Number.prototype.decimalAdd = function(operand) { return Number((this + operand).toPrecision(15)); } ``` Note: Despite calling a rounding function at...
What is an "epsilon"? It is the distance between a reference binary float and the binary float that is exactly 1 tick up or down the number line from the...
~I will note that the `Number.prototype.decimalAdd` function written above achieves basically the same thing as `Math.sumPrecise` (https://github.com/tc39/proposal-math-sum). If we were to do something like add a higher-level type or a...