3 ms·
This is correct, though both are exact at the scales in question (14930352). There's a more general question of whether it's beneficial to take a perf hit for a
by meetups323 6y ago
This is correct, though both are exact at the scales in question (14930352). There's a more general question of whether it's beneficial to take a perf hit for all arithmetic in order to support some corner cases of infinite precision, or be explicit that standard arithmetic won't be precise, but you can opt into it via some mechanism (BigNum, in the JS case)
I prefer the JS approach.