Jesse Alama
Jesse Alama
This has been implemented as suggested. Thank you!
In the latest version of the spec, the comparison operator `cmp` has been removed in favor of a `lessThan` and `equals` predicates. Does that address your concerns?
I'm not wedded to the names of the operators. Aligning things with WebAssembly is not a bad idea.
Just to chime in with the status quo, as of today: * We propose to use human-readable operation and comparison names ("multiply", "add", "lessThan", etc.) rather than the compact names...
> @Yaffle also suggested the same syntax simplification ideas and even proposed further: the `D128` or `Dec128` class to the global context. Thanks! The moderately longer name "Decimal128", while admittedly...
My current thinking is that Decimal ought to provide the five rounding modes specified in IEEE 754: + round ties to even (default, same as in the various `Math` functions)...
Thanks! This is excellent feedback. It seems that there's a bit of a conflict here about which way to go: + Follow IEEE 754 and `Math`'s lead and use half-to-even...
> Rounding mode in divide operation also needed? It will be in functional style or some state? For example new Decimal128('1').divide(new Decimal128('3')) will give infinite 0.3333333333333333333333334 with some rounding by...
Just to update this thread on the status quo, as of writing: We'll have a single `round` method that allows the programmer to use one of the five IEEE 754...
Ack, you're right. I'll see what I can do to fix that. In the spec text, the link starts after the A/a/An/an but somehow ecmarkup took my `dfn` markup and...