IEEE 854-1987
Current
The latest, up-to-date edition.
IEEE Standard for Radix-Independent Floating-Point Arithmetic
English
05-10-1987
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
It is intended that an implementation of a floating-point system conforming to this standard can be realized entirely in software, entirely in hardware, or in any combination of software and hardware.
Committee |
Microprocessor Standards Committee
|
DocumentType |
Standard
|
ISBN |
978-0-7381-1167-4
|
Pages |
19
|
PublisherName |
Institute of Electrical & Electronics Engineers
|
Status |
Current
|
IEEE 1076-2008 REDLINE | IEEE Standard VHDL Language Reference Manual |
BS ISO/IEC 13813 : 1997 | |
CSA ISO/IEC/IEEE 9945 : 2010 : R2015 | INFORMATION TECHNOLOGY - PORTABLE OPERATING SYSTEM INTERFACE (POSIX[R]) BASE SPECIFICATIONS, ISSUE 7 |
CSA ISO/IEC 10967-3 : 2007 : R2012 | INFORMATION TECHNOLOGY - LANGUAGE INDEPENDENT ARITHMETIC - PART 3: COMPLEX INTEGER AND FLOATING POINT ARITHMETIC AND COMPLEX ELEMENTARY NUMERICAL FUNCTIONS |
INCITS/ISO/IEC 10967-1 : 1994 | INFORMATION TECHNOLOGY - LANGUAGE INDEPENDENT ARITHMETIC - PART 1: INTEGER AND FLOATING POINT ARITHMETIC |
CAN/CSA-ISO/IEC 10967-3-07 (R2017) | Information Technology - Language Independent Arithmetic - Part 3: Complex Integer and Floating Point Arithmetic and Complex Elementary Numerical Functions (Adopted ISO/IEC 10967-3:2006, first edition, 2006-05-01) |
ISO/IEC TS 18661-5:2016 | Information Technology Programming languages, their environments, and system software interfaces Floating-point extensions for C Part 5: Supplementary attributes |
CSA ISO/IEC/IEEE 9945 : 2010 : INC : COR 1 : 2015 | INFORMATION TECHNOLOGY - PORTABLE OPERATING SYSTEM INTERFACE (POSIX[R]) BASE SPECIFICATIONS, ISSUE 7 |
ISO/TR 13519:2012 | Guidance on the development and use of ISO statistical publications supported by software |
BS IEC 61691-1-1:2011 | Behavioural languages VHDL Language reference manual |
02/653424 DC : DRAFT JULY 2002 | BS ISO/IEC 9945-1 - INFORMATION TECHNOLOGY - PORTABLE OPERATING SYSTEM INTERFACE (POSIX) - PART 1: BASE DEFINITIONS |
BS ISO/IEC 10967-3:2006 | Information technology. Language independent arithmetric Complex integer and floating point arithmetic and complex elementary numerical functions |
ISO/IEC 9945-4:2003 | Information technology Portable Operating System Interface (POSIX) Part 4: Rationale |
04/30106462 DC : DRAFT JUL 2004 | ISO/IEC 10967-3 - INFORMATION TECHNOLOGY - LANGUAGE INDEPENDENT ARITHMETIC - PART 3 : COMPLEX FLOATING POINT ARITHMETIC AND COMPLEX ELEMENTARY NUMERICAL FUNCTIONS |
PD ISO/IEC TS 18661-4:2015 | Information Technology. Programming languages, their environments, and system software interfaces. Floating-point extensions for C Supplementary functions |
BS ISO/IEC 9945-3:2002 | Information technology. Portable operating system interface (POSIX) Shell and utilities |
ISO/IEC 9945-2:2003 | Information technology Portable Operating System Interface (POSIX) Part 2: System Interfaces |
IEEE/Open Group 1003.1, 2013 Edition | IEEE Standard for Information Technology—Portable Operating System Interface (POSIX(TM)) Base Specifications, Issue 7 |
ISO/IEC TS 18661-4:2015 | Information Technology Programming languages, their environments, and system software interfaces Floating-point extensions for C Part 4: Supplementary functions |
BS PD ISO/IEC TS 18661-2 : 2015 | INFORMATION TECHNOLOGY - PROGRAMMING LANGUAGES, THEIR ENVIRONMENTS, AND SYSTEM SOFTWARE INTERFACES - FLOATING-POINT EXTENSIONS FOR C - PART 2: DECIMAL FLOATING-POINT ARITHMETIC |
BS ISO/IEC 13814:1998 | Information technology. Programming languages. Generic package of complex elementary functions for Ada |
IEC 61691-6:2009 | Behavioural languages - Part 6: VHDL Analog and Mixed-Signal Extensions |
CSA ISO/IEC 10967-2 : 2002 : R2011 | INFORMATION TECHNOLOGY - LANGUAGE INDEPENDENT ARITHMETIC - PART 2: ELEMENTARY NUMERICAL FUNCTIONS |
CSA ISO/IEC 10967-2 :2002 | INFORMATION TECHNOLOGY - LANGUAGE INDEPENDENT ARITHMETIC - PART 2: ELEMENTARY NUMERICAL FUNCTIONS |
CSA ISO/IEC 9899 : 2013 : R2017 | INFORMATION TECHNOLOGY - PROGRAMMING LANGUAGES - C |
BS ISO/IEC 9899:2011 | Information technology. Programming languages. C |
CSA ISO/IEC 9945-3 : 2005 | INFORMATION TECHNOLOGY - PORTABLE OPERATING SYSTEM INTERFACE (POSIX) - PART 3: SHELL AND UTILITIES |
ISO/IEC TS 18661-1:2014 | Information technology Programming languages, their environments, and system software interfaces Floating-point extensions for C Part 1: Binary floating-point arithmetic |
INCITS/ISO/IEC 9899 : 2012 | INFORMATION TECHNOLOGY - PROGRAMMING LANGUAGES - C |
ISO/IEC 9899:2011 | Information technology Programming languages C |
PD ISO/IEC TS 18661-5:2016 | Information Technology. Programming languages, their environments, and system software interfaces. Floating-point extensions for C Supplementary attributes |
CSA ISO/IEC 9945-2 : 2005 | INFORMATION TECHNOLOGY - PORTABLE OPERATING SYSTEM INTERFACE (POSIX) - PART 2: SYSTEM INTERFACES |
ISO/IEC 9945-1:2003 | Information technology Portable Operating System Interface (POSIX) Part 1: Base Definitions |
PD ISO/IEC TS 18661-3:2015 | Information Technology. Programming languages, their environments, and system software interfaces. Floating-point extensions for C Interchange and extended types |
CSA ISO/IEC 9945-4 : 2005 | INFORMATION TECHNOLOGY - PORTABLE OPERATING SYSTEM INTERFACE (POSIX) - PART 4: RATIONALE |
CSA ISO/IEC 9899 : 2013 | INFORMATION TECHNOLOGY - PROGRAMMING LANGUAGES - C |
PD ISO/IEC TS 18661-1:2014 | Information technology. Programming languages, their environments, and system software interfaces. Floating-point extensions for C Binary floating-point arithmetic |
BS ISO/IEC 9945-2:2002 | Information technology. Portable operating system interface (POSIX) System Interfaces |
BS ISO/IEC 9945-4:2002 | Information technology. Portable operating system interface (POSIX) Rationale |
02/653425 DC : DRAFT JULY 2002 | BS ISO/IEC 9945-2 - INFORMATION TECHNOLOGY - PORTABLE OPERATING SYSTEM INTERFACE (POSIX) - PART 2: SYSTEM INTERFACES |
BS ISO/IEC 9945-1:2002 | Information technology. Portable operating system interface (POSIX) Base Definitions |
CSA ISO/IEC TR 24732 : 2012 | INFORMATION TECHNOLOGY - PROGRAMMING LANGUAGES, THEIR ENVIRONMENTS AND SYSTEM SOFTWARE INTERFACES - EXTENSION FOR THE PROGRAMMING LANGUAGE C TO SUPPORT DECIMAL FLOATING-POINT ARITHMETIC |
ANSI INCITS TR 17 : 1997 | INFORMATION TECHNOLOGY - NUMERICAL C EXTENSIONS |
ISO/IEC TS 18661-2:2015 | Information Technology Programming languages, their environments, and system software interfaces Floating-point extensions for C Part 2: Decimal floating-point arithmetic |
ISO/IEC 9945-3:2003 | Information technology Portable Operating System Interface (POSIX) Part 3: Shell and Utilities |
IEC 61691-1-1:2011 | Behavioural languages - Part 1-1: VHDL Language Reference Manual |
PD ISO/TR 13519:2012 | Guidance on the development and use of ISO statistical publications supported by software |
CSA ISO/IEC 10967-2 : 2002 : R2016 | INFORMATION TECHNOLOGY - LANGUAGE INDEPENDENT ARITHMETIC - PART 2: ELEMENTARY NUMERICAL FUNCTIONS |
CSA ISO/IEC 9945-1 : 2005 | INFORMATION TECHNOLOGY - PORTABLE OPERATING SYSTEM INTERFACE (POSIX) - PART 1: BASE DEFINITIONS |
CSA ISO/IEC 10967-3 : 2007 | INFORMATION TECHNOLOGY - LANGUAGE INDEPENDENT ARITHMETIC - PART 3: COMPLEX INTEGER AND FLOATING POINT ARITHMETIC AND COMPLEX ELEMENTARY NUMERICAL FUNCTIONS |
ANSI INCITS TR 17 : 1997 : R2007 | INFORMATION TECHNOLOGY - NUMERICAL C EXTENSIONS |
CAN/CSA-ISO/IEC TR 24732:12 (R2016) | Information technology - Programming languages, their environments and system software interfaces - Extension for the programming language C to support decimal floating-point arithmetic (Adopted ISO/IEC TR 24732:2009, first edition, 2009-01-15) |
CSA ISO/IEC/IEEE 9945 : 2010 | INFORMATION TECHNOLOGY - PORTABLE OPERATING SYSTEM INTERFACE (POSIX[R]) BASE SPECIFICATIONS, ISSUE 7 |
ISO/IEC TR 24732:2009 | Information technology Programming languages, their environments and system software interfaces Extension for the programming language C to support decimal floating-point arithmetic |
ISO/IEC TS 18661-3:2015 | Information Technology — Programming languages, their environments, and system software interfaces — Floating-point extensions for C — Part 3: Interchange and extended types |
ISO/IEC 10967-2:2001 | Information technology — Language independent arithmetic — Part 2: Elementary numerical functions |
IEEE 1076.1-2017 | IEEE Standard VHDL Analog and Mixed-Signal Extensions |
IEEE/IEC 61691-1-1-2011 | IEC/IEEE International Standard - Behavioural languages - Part 1-1: VHDL Language Reference Manual |
CAN/CSA-ISO/IEC TS 18661-5:18 | Information technology — Programming languages, their environments, and system software interfaces — Floating-point extensions for C — Part 5: Supplementary attributes (Adopted ISO/IEC TS 18661-5:2016, first edition, 2016-08-15) |
Access your standards online with a subscription
Features
-
Simple online access to standards, technical information and regulations.
-
Critical updates of standards and customisable alerts and notifications.
-
Multi-user online standards collection: secure, flexible and cost effective.