Numerical Computation Guide
Sun Studio 11
819-3693-10
Contents |
Accessing Sun Studio Software and Man Pages
Accessing Sun Studio Documentation
Accessing Related Solaris Documentation
Contacting Sun Technical Support
1.1 Floating-Point Environment
2.1.1 What Is IEEE Arithmetic?
2.2.4 Double-Extended Format (SPARC)
2.2.5 Double-Extended Format (x86)
2.2.6 Ranges and Precisions in Decimal Representation
2.2.7 Base Conversion in the Solaris Environment
2.3.2 How Does IEEE Arithmetic Treat Underflow?
2.3.4 Error Properties of Gradual Underflow
2.3.5 Two Examples of Gradual Underflow Versus Store 0
3.2.3 Vector Math Library (SPARC only)
3.3 Single, Double, and Extended/Quadruple Precision
3.4.1 ieee_functions(3m) and ieee_sun(3m)
3.4.5 nonstandard_arithmetic(3m)
3.5 C99 Floating Point Environment Functions
3.5.1 Exception Flag Functions
3.6 Implementation Features of libm and libsunmath
3.6.2 Argument Reduction for Trigonometric Functions
3.6.3 Data Conversion Routines
3.6.4 Random Number Facilities
4. Exceptions and Exception Handling
4.2.2 C99 Exception Flag Functions
4.3.1 Using the Debugger to Locate an Exception
4.3.2 Using a Signal Handler to Locate an Exception
4.3.3 Using libm Exception Handling Extensions to Locate an Exception
A.2.2 IEEE Recommended Functions
A.2.4 ieee_flags -- Rounding Direction
A.2.5 C99 Floating Point Environment Functions
A.3 Exceptions and Exception Handling
A.3.1 ieee_flags -- Accrued Exceptions
A.3.2 ieee_handler -- Trapping Exceptions
A.3.3 ieee_handler -- Abort on Exceptions
A.3.4 libm Exception Handling Features
A.3.5 Using libm Exception Handling With Fortran Programs
A.4.1 sigfpe -- Trapping Integer Exceptions
A.4.3 Useful Debugging Commands
B. SPARC Behavior and Implementation
B.1.1 Floating-Point Status Register and Queue
B.1.2 Special Cases Requiring Software Support
B.2 fpversion(1) Function -- Finding Information About the FPU
C. x86 Behavior and Implementation
D. What Every Computer Scientist Should Know About Floating-Point Arithmetic
D.3.5 Exactly Rounded Operations
D.4.4 Exceptions, Flags and Trap Handlers
D.6.2 Binary to Decimal Conversion
D.11 Differences Among IEEE 754 Implementations
D.11.1 Current IEEE 754 Implementations
D.11.2 Pitfalls in Computations on Extended-Based Systems
D.11.3 Programming Language Support for Extended Precision
E.1.1 Other Compiler Flags Affecting Standard Conformance
E.1.2 Additional Notes on C99 Conformance
F.1 Chapter 2: "IEEE Arithmetic"
F.2 Chapter 3: "The Math Libraries"
F.3 Chapter 4: "Exceptions and Exception Handling"
F.4 Appendix B: "SPARC Behavior and Implementation"
Copyright © 2005, Sun Microsystems, Inc. All Rights Reserved.