Go to main content
Index
Numbers and Symbols
- -fast
Subnormal Numbers and Nonstandard Arithmetic
- -fnonstd
Subnormal Numbers and Nonstandard Arithmetic
A
- abort on exception
- C example
ieee_handler: Abort on Exceptions
- abrupt underflow
Underflow Thresholds- flush underflow results
Two Examples of Gradual Underflow Versus Abrupt Underflow
Gaps Between Representable Single-Format Floating-Point Numbers
- accuracy
- floating-point operations
What Is IEEE Arithmetic?
- significant digits (number of)
Ranges and Precisions in Decimal Representation
- threshold
Does Underflow Matter?
- addrans
- random number utilities
Random Number Facilities
- argument reduction
- trigonometric functions
Argument Reduction for Trigonometric Functions
B
- base conversion
- base 10 to base 2
Base Conversion in the Oracle Solaris Environment
- base 2 to base 10
Base Conversion in the Oracle Solaris Environment
- formatted I/O
Base Conversion in the Oracle Solaris Environment
C
- C driver
- example, call FORTRAN subroutines from C
Calling Fortran From C
- clock speed
fpversion(1) Function: Finding Information About the
FPU
- conversion between number sets
Comparison of a Set of Numbers Defined by Digital and Binary
Representation
- conversions between decimal strings and binary floating-point numbers
What Is IEEE Arithmetic?
- convert_external
- binary floating-point
Data Conversion Routines
- data conversion
Data Conversion Routines
D
- data types
- relation to IEEE formats
Storage Formats
- dbx
Using the Debugger to Locate
an Exception
- decimal representation
- maximum positive normal number
Ranges and Precisions in Decimal Representation
- minimum positive normal number
Ranges and Precisions in Decimal Representation
- precision
Ranges and Precisions in Decimal Representation
- ranges
Ranges and Precisions in Decimal Representation
- double-precision representation
- C example
IEEE Arithmetic
- FORTRAN example
Double Precision
Example
E
- examine the accrued exception bits
- C example
ieee_flags — Accrued
Exceptions
- examine the accrued exception flags
- C example
Examining the Accrued
Exception Flags
F
- floating-point
- exceptions list
What Is IEEE Arithmetic?
- rounding direction
What Is IEEE Arithmetic?
- rounding precision
What Is IEEE Arithmetic?
- floating-point accuracy
- decimal strings and binary floating-point numbers
What Is IEEE Arithmetic?
- floating-point exceptions
Floating-Point Environment- abort on exceptions
ieee_handler: Abort on Exceptions
- accrued exception bits
ieee_flags — Accrued
Exceptions
- common exceptions
What Is an Exception?
- default result
IEEE Floating-Point Exceptions
- definition
What Is an Exception?
- flags
Detecting Exceptions- accrued
Detecting Exceptions
- current
Detecting Exceptions
- ieee_functions
ieee_sun(3m)
- ieee_retrospective
ieee_retrospective(3m)
- list of exceptions
What Is an Exception?
- priority
Notes for Table 4-1
- trap precedence
Notes for Table 4-1
- floating-point queue (FQ)
Floating-Point Status Register and Queue
- floating-point status register (FSR)
Floating-Point Status Register and Queue
Some Debugging Commands (SPARC)
- floatingpoint.h
- define handler types
- C and C++
ieee_handler (3m)
- flush to zero (seeabrupt underflow)
Underflow Thresholds
G
- generate an array of numbers
- FORTRAN example
Random Number Generator
- gradual underflow
- error properties
Error Properties of Gradual Underflow
I
- IEEE double extended format
- biased exponent
- x86 architecture
Double-Extended Format (x86)
- bit-field assignment
- x86 architecture
Double-Extended Format (x86)
- fraction
- x86 architecture
Double-Extended Format (x86)
- Inf
- SPARC architecture
Values Represented by Bit Patterns
- x86 architecture
Values Represented by Bit Patterns (x86)
- NaN
- x86 architecture
Bit Patterns in Double-Extended Format and Their Values (x86)
- normal number
- SPARC architecture
Values Represented by Bit Patterns
- x86 architecture
Values Represented by Bit Patterns (x86)
- quadruple precision
- SPARC architecture
Quadruple Format
- sign bit
- x86 architecture
Double-Extended Format (x86)
- significand
- explicit leading bit (x86 architecture)
Double-Extended Format (x86)
- subnormal number
- SPARC architecture
Values Represented by Bit Patterns
- x86 architecture
Values Represented by Bit Patterns (x86)
- IEEE double format
- biased exponent
Double Format
- bit patterns and equivalent values
Values Represented by Bit Patterns in IEEE Double Format
- bit-field assignment
Double Format
- denormalized number
Values Represented by Bit Patterns in IEEE Double Format
- fraction
Double Format
Double Format
- storage on SPARC
Double Format
- storage on x86
Double Format
- implicit bit
Values Represented by Bit Patterns in IEEE Double Format
- Inf, infinity
Values Represented by Bit Patterns in IEEE Double Format
- NaN, not a number
Bit Patterns in Double-Storage Format and Their IEEE Values
- normal number
Values Represented by Bit Patterns in IEEE Double Format
- precision
Values Represented by Bit Patterns in IEEE Double Format
- sign bit
Double Format
- significand
Values Represented by Bit Patterns in IEEE Double Format
- subnormal number
Values Represented by Bit Patterns in IEEE Double Format
- IEEE formats
- relation to language data types
Storage Formats
- IEEE single format
- biased exponent
Single Format
- biased exponent,implicit bit
Values Represented by Bit Patterns in IEEE Single Format
- bit assignments
Single Format
- bit patterns and equivalent values
Values Represented by Bit Patterns in IEEE Single Format
- bit-field assignment
Single Format
- denormalized number
Values Represented by Bit Patterns in IEEE Single Format
- fraction
Single Format
- Inf, negative infinity
Values Represented by Bit Patterns in IEEE Single Format
- Inf,positive infinity
Values Represented by Bit Patterns in IEEE Single Format
- mixed number, significand
Values Represented by Bit Patterns in IEEE Single Format
- NaN, not a number
Bit Patterns in Single-Storage Format and Their IEEE Values
- normal number
- maximum positive
Values Represented by Bit Patterns in IEEE Single Format
- normal number bit pattern
Values Represented by Bit Patterns in IEEE Single Format
- precision, normal number
Values Represented by Bit Patterns in IEEE Single Format
- sign bit
Single Format
- subnormal number bit pattern
Values Represented by Bit Patterns in IEEE Single Format
- IEEE Standard 754
- double extended format
What Is IEEE Arithmetic?
- double format
What Is IEEE Arithmetic?
- single format
What Is IEEE Arithmetic?
- ieee_flags
- accrued exception flag
ieee_flags(3m)
- examine accrued exception bits-C example
ieee_flags — Accrued
Exceptions
- rounding direction
ieee_flags(3m)
- rounding precision
ieee_flags Input Values for the Rounding
Direction
ieee_flags(3m)
- set exception flags-C example
Examining the Accrued Exception Flags – Fortran
- truncate rounding
Parameter Values for ieee_flags
- ieee_functions
- bit mask operations
ieee_functions(3m) and ieee_sun(3m)
- floating-point exceptions
ieee_sun(3m)
- ieee_handler
ieee_handler (3m)- abort on exception
- FORTRAN example
ieee_handler: Abort on Exceptions
- example, calling sequence
Using dbx to Locate the Instruction Causing an Exception
- trap on common exceptions
What Is an Exception?
- trap on exception
- C example
ieee_handler: Trapping Exceptions
- ieee_retrospective
- check underflow exception flag
Subnormal Numbers and Nonstandard Arithmetic
- floating-point exceptions
ieee_retrospective(3m)
- floating-point status register (FSR)
ieee_retrospective(3m)
- getting information about nonstandard IEEE modes
ieee_retrospective(3m)
- getting information about outstanding exceptions
ieee_retrospective(3m)
- nonstandard_arithmetic in effect
ieee_retrospective(3m)
- precision
ieee_retrospective(3m)
- rounding
ieee_retrospective(3m)
- suppress exception messages
ieee_retrospective(3m)
- ieee_sun
- IEEE classification functions
ieee_functions(3m) and ieee_sun(3m)
- ieee_values
- quadruple-precision values
ieee_values(3m)
- representing floating-point values
ieee_values(3m)
- representing Inf
ieee_values(3m)
- representing NaN
ieee_values(3m)
- representing normal number
ieee_values(3m)
- single-precision values
ieee_values(3m)
- ieee_values functions
- C example
IEEE Special Values
- Inf
Special Cases and libm Functions
Floating-Point Environment
- default result of divide by zero
IEEE Floating-Point Exceptions
L
- lcrans
- random number utilities
Random Number Facilities
- libm
- list of functions
Standard Math Library
- libm functions
- double precision
Calling Single, Double, and Extended/Quadruple Functions
- quadruple precision
Calling Single, Double, and Extended/Quadruple Functions
- single precision
Calling Single, Double, and Extended/Quadruple Functions
- libsunmath
- list of functions
Oracle Math Library
N
- NaN
Special Cases and libm Functions
Bit Patterns in Quadruple Format
Floating-Point Environment
- nonstandard_arithmetic
- gradual underflow
nonstandard_arithmetic(3m)
- turn off IEEE gradual underflow
Subnormal Numbers and Nonstandard Arithmetic
- underflow
nonstandard_arithmetic(3m)
- normal number
- maximum positive
Values Represented by Bit Patterns in IEEE Single Format
- minimum positive
Gaps Between Representable Single-Format Floating-Point Numbers
Underflow Thresholds
- number line
- binary representation
Ranges and Precisions in Decimal Representation
- decimal representation
Ranges and Precisions in Decimal Representation
- powers of 2
Number Line
O
- operating system math library
- libm.a
Standard Math Library
P
- pi
- infinitely precise value
Argument Reduction for Trigonometric Functions
Q
- quietNaN
- default result of invalid operation
IEEE Floating-Point Exceptions
R
- random number generators
Random Number Generator
- random number utilities
- shufrans
Random Number Facilities
- represent double-precision value
- C example
Double Precision
Example
- FORTRAN example
Print Smallest
Normal Numbers in Each Format (Continued)
- represent single-precision value
- C example
Double Precision
Example
- round-off error
- accuracy
- loss of
How Does IEEE Arithmetic Treat Underflow?
- rounding direction
What Is IEEE Arithmetic?- C example
ieee_flags — Rounding
Direction
- rounding precision
What Is IEEE Arithmetic?
S
- set exception flags
- C example
Examining the Accrued Exception Flags – Fortran
- shufrans
- shuffle pseudo-random numbers
Random Number Facilities
- single format
Single Format
- single precision representation
- C example
IEEE Arithmetic
- standard_arithmetic
- turn on IEEE behavior
Subnormal Numbers and Nonstandard Arithmetic
- subnormal number
Gaps Between Representable Single-Format Floating-Point Numbers- floating-point calculations
Underflow Thresholds
- System V Interface Definition (SVID)
Standards Compliance
T
- trap
- abort on exception
ieee_handler: Abort on Exceptions
- ieee_retrospective
ieee_retrospective(3m)
- trap on exception
- C example
Trap on Underflow (SPARC)
ieee_handler: Trapping Exceptions
- trap on floating-point exceptions
- C example
ieee_handler: Trapping Exceptions
- trigonometric functions
- argument reduction
Argument Reduction for Trigonometric Functions
Argument Reduction for Trigonometric Functions
U
- underflow
- floating-point calculations
Underflow Thresholds
- gradual
Underflow Thresholds
- nonstandard_arithmetic
nonstandard_arithmetic(3m)
- threshold
Gaps Between Representable Single-Format Floating-Point Numbers
- underflow thresholds
- double extended precision
Underflow Thresholds
- double precision
Underflow Thresholds
- single precision
Underflow Thresholds
- unit in last place (ulp)
About the Algorithms
- unordered comparison
- floating-point values
Notes for Table 4-1
- NaN
Notes for Table 4-1