Skip to content

Commit da8aafb

Browse files
committed
This section seems out of place both in this part of specification
and the spec in general. We comply with IEEE, the behaviour is defined so nothing of value is added.
1 parent 4fa63a1 commit da8aafb

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

spec/float.dd

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ $(HEADERNAV_TOC)
66

77
$(H2 $(LNAME2 fp_intermediate_values, Floating-Point Intermediate Values))
88

9-
109
$(P For floating-point operations and expression intermediate values,
1110
a greater precision can be used than the type of the
1211
expression.
@@ -20,20 +19,7 @@ $(H2 $(LNAME2 fp_intermediate_values, Floating-Point Intermediate Values))
2019

2120
$(P It's possible that, due to greater use of temporaries and
2221
common subexpressions, optimized code may produce a more
23-
accurate answer than unoptimized code.
24-
)
25-
26-
$(P Algorithms should be written to work based on the minimum
27-
precision of the calculation. They should not degrade or
28-
fail if the actual precision is greater. Float or double types,
29-
as opposed to the real (extended) type, should only be used for:
30-
)
31-
32-
$(UL
33-
$(LI reducing memory consumption for large arrays)
34-
$(LI when speed is more important than accuracy)
35-
$(LI data and function argument compatibility with C)
36-
)
22+
accurate answer than unoptimized code.)
3723

3824
$(H2 $(LNAME2 fp_const_folding, Floating-Point Constant Folding))
3925

0 commit comments

Comments
 (0)