DocumentCode
805636
Title
An open question to developers of numerical software
Author
Kahan, William ; Zuras, Dan
Author_Institution
Math. & Electr. Eng. & Comput. Sci., California Univ., Berkeley, CA, USA
Volume
38
Issue
5
fYear
2005
fDate
5/1/2005 12:00:00 AM
Firstpage
91
Lastpage
94
Abstract
IEEE 754 a standard for binary floating-point arithmetic has revolutionized the portability and reliability of programs that use binary floating-point arithmetic. Floating point is almost universally implemented with special-purpose hardware that tucks into a small corner of the CPU chip and runs in the hundreds of Mflops to Gflops range. Single-stepping through today\´s floating-point software to debug it often turns out to be futile. The concept of a NaN, standing for "not a number", evolved from an "indefinite" in Seymour Cray\´s CDC 6600. IEEE 754, by default, requires an untrapped "invalid operation", to signal itself by raising a flag and to deliver a NaN just when any other result, be it finite or infinite, would cause worse confusion. The NaN lets a program retain control unless the program or programmer directs its cancellation upon an invalid operation. Thus, a program conducting a search can return to the realm being searched after an accidental foray beyond a boundary whose existence and location were previously unknown. A sNaN differs from the other quiet NaNs by traooing any attempt to perform arithmetic upon it; then a trap-handler must interpret this sNaN.
Keywords
IEEE standards; error analysis; floating point arithmetic; mathematics computing; CPU chip; IEEE 754; binary floating-point arithmetic standard; numerical software development; program control; sNaN; special-purpose hardware; Degradation; Encoding; Error correction; Floating-point arithmetic; Optimizing compilers; Program processors; Programming profession; Software standards; Standards development; Supercomputers; computing milieux; numerical software; sNaNs; standards;
fLanguage
English
Journal_Title
Computer
Publisher
ieee
ISSN
0018-9162
Type
jour
DOI
10.1109/MC.2005.148
Filename
1430643
Link To Document