This format will be familiar to Java programmers as the format of the double type. It is also the double format used in almost all modern implementations of C and C++.
sine_of_x = Math.sin(x);
hypot = Math.sqrt(x*x + y*y);
In Navigator 3.0 (but not IE 3.0), there are constants defined for each of these special numeric values. These constants are listed in Table 3.1.
|Number.MAX_VALUE||Largest representable number|
|Number.MIN_VALUE||Most negative representable number|
|Number.NaN||Special not-a-number value|
|Number.POSITIVE_INFINITY||Special value to represent infinity|
|Number.NEGATIVE_INFINITY||Special value to represent negative infinity|