public class ExtDouble
extends Object
Code to deal with the 80-bit floating point (extended double)
numbers which occur in AIFF files. Should also be applicable
in general.
Java has no built-in support for IEEE 754 extended double numbers.
Thus, we have to unpack the number and convert it to a double by
hand. There is, of course, loss of precision.
This isn't designed for high-precision work; as the standard
disclaimer says, don't use it for life support systems or nuclear
power plants.
- Author:
- Gary McGath