Top White Papers
Java's new Floating-point mathJan 17, 2009, 22:03 (0 Talkback[s])
(Other stories by Elliotte Rusty Harold)
[ Thanks to An Anonymous Reader for this link. ]
"Version 5 of the Java Language Specification added 10 new methods to java.lang.Math and java.lang.StrictMath, and Java 6 added another 10. Part 1 of this two-article series looked at the new methods that make sense mathematically. That is, they provide functions that a pre-computer-era mathematician would find familiar. Here in Part 2, I focus on the functions that make sense only when you realize that they're designed for operating on floating-point numbers instead of abstract real numbers.
0 Talkback[s] (click to add your comment)