tmp/tmptma59gv8/{from.md → to.md}
RENAMED
|
@@ -1,13 +1,16 @@
|
|
| 1 |
### Floating-point conversions <a id="conv.double">[[conv.double]]</a>
|
| 2 |
|
| 3 |
A prvalue of floating-point type can be converted to a prvalue of
|
| 4 |
-
another floating-point type
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
the
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
The conversions allowed as floating-point promotions are excluded from
|
| 12 |
the set of floating-point conversions.
|
| 13 |
|
|
|
|
| 1 |
### Floating-point conversions <a id="conv.double">[[conv.double]]</a>
|
| 2 |
|
| 3 |
A prvalue of floating-point type can be converted to a prvalue of
|
| 4 |
+
another floating-point type with a greater or equal conversion rank
|
| 5 |
+
[[conv.rank]]. A prvalue of standard floating-point type can be
|
| 6 |
+
converted to a prvalue of another standard floating-point type.
|
| 7 |
+
|
| 8 |
+
If the source value can be exactly represented in the destination type,
|
| 9 |
+
the result of the conversion is that exact representation. If the source
|
| 10 |
+
value is between two adjacent destination values, the result of the
|
| 11 |
+
conversion is an *implementation-defined* choice of either of those
|
| 12 |
+
values. Otherwise, the behavior is undefined.
|
| 13 |
|
| 14 |
The conversions allowed as floating-point promotions are excluded from
|
| 15 |
the set of floating-point conversions.
|
| 16 |
|