BS ISO/IEC 60559:2020
$215.11
Floating-point arithmetic
Published By | Publication Date | Number of Pages |
BSI | 2020 | 86 |
This standard specifies formats and operations for floating-point arithmetic in computer systems. Exception conditions are defined and handling of these conditions is specified.
PDF Catalog
PDF Pages | PDF Title |
---|---|
2 | undefined |
4 | Contents |
10 | Introduction |
11 | 1. Overview 1.1 Scope 1.2 Purpose 1.3 Inclusions 1.4 Exclusions |
12 | 1.5 Programming environment considerations 1.6 Word usage |
13 | 2. Definitions, abbreviations, and acronyms 2.1 Definitions |
15 | 2.2 Abbreviations and acronyms |
16 | 3. Floating-point formats 3.1 Overview 3.1.1 Formats 3.1.2 Conformance |
17 | 3.2 Specification levels 3.3 Sets of floating-point data |
19 | 3.4 Binary interchange format encodings |
20 | 3.5 Decimal interchange format encodings 3.5.1 Cohorts 3.5.2 Encodings |
23 | 3.6 Interchange format parameters |
25 | 3.7 Extended and extendable precisions |
26 | 4. Attributes and rounding 4.1 Attribute specification 4.2 Dynamic modes for attributes |
27 | 4.3 Rounding-direction attributes 4.3.1 Rounding-direction attributes to nearest 4.3.2 Directed rounding attributes |
28 | 4.3.3 Rounding attribute requirements |
29 | 5. Operations 5.1 Overview |
30 | 5.2 Decimal exponent calculation |
31 | 5.3 Homogeneous general-computational operations 5.3.1 General operations |
32 | 5.3.2 Decimal operations 5.3.3 logBFormat operations |
33 | 5.4 formatOf general-computational operations 5.4.1 Arithmetic operations |
34 | 5.4.2 Conversion operations for floating-point formats and decimal character sequences 5.4.3 Conversion operations for binary formats |
35 | 5.5 Quiet-computational operations 5.5.1 Sign bit operations |
36 | 5.5.2 Decimal re-encoding operations |
37 | 5.6 Signaling-computational operations 5.6.1 Comparisons 5.7 Non-computational operations 5.7.1 Conformance predicates |
38 | 5.7.2 General operations |
39 | 5.7.3 Decimal operation 5.7.4 Operations on subsets of flags 5.8 Details of conversions from floating-point to integer formats |
41 | 5.9 Details of operations to round a floating-point datum to integral value |
42 | 5.10 Details of totalOrder predicate |
43 | 5.11 Details of comparison predicates |
44 | 5.12 Details of conversion between floating-point data and external character sequences |
45 | 5.12.1 External character sequences representing zeros, infinities, and NaNs 5.12.2 External decimal character sequences representing finite numbers |
47 | 5.12.3 External hexadecimal-significand character sequences representing finite numbers |
48 | 6. Infinity, NaNs, and sign bit 6.1 Infinity arithmetic 6.2 Operations with NaNs 6.2.1 NaN encodings in binary interchange formats |
49 | 6.2.2 NaN encodings in decimal interchange formats 6.2.3 NaN propagation |
50 | 6.3 The sign bit |
51 | 7. Exceptions and default exception handling 7.1 Overview: exceptions and flags |
52 | 7.2 Invalid operation |
53 | 7.3 Division by zero 7.4 Overflow 7.5 Underflow |
54 | 7.6 Inexact |
55 | 8. Alternate exception handling attributes 8.1 Overview 8.2 Resuming alternate exception handling attributes |
56 | 8.3 Immediate and delayed alternate exception handling attributes |
58 | 9. Recommended operations 9.1 Conforming language- and implementation-defined operations 9.2 Additional mathematical operations |
61 | 9.2.1 Special values |
64 | 9.2.2 Preferred exponents |
65 | 9.3 Dynamic mode operations 9.3.1 Operations on individual dynamic modes 9.3.2 Operations on all dynamic modes |
66 | 9.4 Reduction operations |
68 | 9.5 Augmented arithmetic operations |
69 | 9.6 Minimum and maximum operations |
71 | 9.7 NaN payload operations |
72 | 10. Expression evaluation 10.1 Expression evaluation rules 10.2 Assignments, parameters, and function values |
73 | 10.3 preferredWidth attributes for expression evaluation |
74 | 10.4 Literal meaning and value-changing optimizations |
75 | 11. Reproducible floating-point results |
77 | Annex A (informative) Bibliography |
79 | Annex B (informative) Program debugging support |
81 | Annex C (informative) List of operations |
83 | Participants |