On Dec 23, 12:35 pm, jzakiya [email protected] wrote:
or what libraries they decided to use. I don’t
know (or care) about any of those under-the-hood
things.What I do KNOW is that the people who designed and
implemented this calculator CARED that it produced
the mathematically exact results for those angles.This makes me happy.
Perhaps you should look under the hood to see what its doing.
for angles on an axis too. So when I use this calculator,
This makes me happy.
PURE speculation, but this sounds like its just rounding off the
results for a pretty display for the end user. (Again, look at the
source)
So I am asking you to see that these errors be fixed.
The language should work to please the user.
The language should be intuitive to the user.
The language should not cause unnecessary surprises.So please, fix these errors.
This will make me happy.
Thanks
This has already been explained. The ratio of a circle’s circumference
to its diameter cannot be fully actualized in finite bytes (and
certainly not in floats). Calculations using Math::PI, therefor,
unless given a special representation, and the language/library has
been built from the ground up to handle calculations with that special
representation (and similarly with all other sorts of irrational
numbers) will never yield a 100% result. If you need more precision
than floating point arithmatic provides, use a specialized language.
If you want your values that, for you, are sufficiently close to zero
to be zero, then its easy enough to round them. However, that decision
CANNOT be made for everybody using the language, as different
people have different expectations of precision, and as has been
mentioned before libraries will break.