About JQuantity
Introduction:
JQuantity is a project which has evolved from the
Calculator.NET
applet (called SuperCalc).
It is is something that I have been thinking about creating since long
before
Java -- but only with Java is it truly achievable.
The Problem:
The problem with floating point calculations on computers is that you
never
know how accurate your answers really are. Even a double
precision
number barely has much accuracy and after several calculations, the
accuracy
is degraded. For example, see Sun's
Core Java Technologies Tech Tips, Feb. 4, 2003 (Variable Argument
Lists,
Floating Point Arithmetic) (or you can get it this way: http://bulkmail2.sun.com/CTServlet?id=1044376692299).
Links: