Jesse Alama
Jesse Alama
@kimmyg are you satisfied with the discussion? Do you think the docs should be changed? (To put the question differently: do you consider this issue closed?)
That looks like a sensible addition to the docs to me. @mflatt & @jeapostrophe would you agree?
@waldemarhorwat Perhaps one way to allay the concern about trigonometric functions and other elementary functions would be to indicate that those operations need to have a precision attached to them?...
There are countless examples like this where 128-bit floats won't deliver an exact result. When we make these examples, I think we're thinking of `==` as mathematical equality (admittedly, this...
Just to add to my previous comment: you can use a language that has Decimal128 support to see that the `1/9 + 2/9 == 3/9` can be recovered. Here's a...
Good example! I guess somewhat bigger numbers (denominators, that is) are needed to illustrate the issue. The larger point remains: Decimal128 is definitely going to fail on all sorts of...
(...gradually returning to the discussion) I took a look at your initial example and wondered if I misunderstood something important. What do you mean by "in another base", in the...
Are you asking about "backend" benefits of BigDecimal (as opposed to BigDecimal in a browser)?
> Overall 402 parts LGTM, note that you would also have to tweak the NumberFormat functions to accept the Decimals and pass them down to ToIntlMathematicalValue for this to work....
@sffc How does this look? AFAICS the relevant `NumberFormat` functions all ought to handle Decimal128 objects as arguments, since the spec routes things through the `ToIntlMathematicalValue` AO. But maybe I'm...