IEEE 854 : 1987
IEEE 854 : 1987
STANDARD FOR RADIX-INDEPENDENT FLOATING POINT ARITHMETIC
Institute of Electrical & Electronics Engineers
STANDARD FOR RADIX-INDEPENDENT FLOATING POINT ARITHMETIC
Institute of Electrical & Electronics Engineers
1. Scope
1.1 Implementation Objectives
1.2 Inclusions
1.3 Exclusions
2. Definitions
3. Precisions
3.1 Sets of Values
3.2 Basic Precisions
3.3 Extended Precisions
3.4 Combinations of Precisions
4. Rounding
4.1 Round to Nearest
4.2 Directed Roundings
4.3 Rounding Precision
5. Operations
5.1 Arithmetic
5.2 Square Root
5.3 Floating-Point Precision Conversions
5.4 Conversion Between Floating Point and Integer
5.5 Round Floating-Point Number to Integral Value
5.6 Floating-Point <-> Decimal String Conversion
5.7 Comparison
6. Infinity, NaNs, and Signed Zero
6.1 Infinity Arithmetic
6.2 Operations with NaNs
6.3 The Algebraic Sign
7. Exceptions
7.1 Invalid Operation
7.2 Division by Zero
7.3 Overflow
7.4 Underflow
7.5 Inexact
8. Traps
8.1 Trap Handler
8.2 Precedence
TABLES
1. Floating Point <-> Decimal String Conversion Ranges
2. Correctly Rounded Conversion Ranges
3. Predicates and Relations
APPENDIX
Recommended Functions and Predicates
Describes constraints on parameters defining values of basic and extended floating-point numbers, add, subtract, multiply, divide, square, root, remainder and compare operations, conversions between integers and floating-point numbers, conversions between different floating-point precisions, conversion between basic precision floating-point numbers and decimal strings and floating-point exceptions and their handling including non-numbers.
Document Type | Standard |
Status | Current |
Publisher | Institute of Electrical & Electronics Engineers |