tmp/tmp1cp8oz60/{from.md → to.md}
RENAMED
|
@@ -1,7 +1,10 @@
|
|
| 1 |
#### `floatfield` manipulators <a id="floatfield.manip">[[floatfield.manip]]</a>
|
| 2 |
|
|
|
|
|
|
|
|
|
|
| 3 |
``` cpp
|
| 4 |
ios_base& fixed(ios_base& str);
|
| 5 |
```
|
| 6 |
|
| 7 |
*Effects:* Calls `str.setf(ios_base::fixed, ios_base::floatfield)`.
|
|
@@ -25,11 +28,11 @@ ios_base& hexfloat(ios_base& str);
|
|
| 25 |
|
| 26 |
*Returns:* `str`.
|
| 27 |
|
| 28 |
[*Note 1*: The more obvious use of `ios_base::hex` to specify
|
| 29 |
hexadecimal floating-point format would change the meaning of existing
|
| 30 |
-
well
|
| 31 |
`fixed` and `scientific`. — *end note*]
|
| 32 |
|
| 33 |
``` cpp
|
| 34 |
ios_base& defaultfloat(ios_base& str);
|
| 35 |
```
|
|
|
|
| 1 |
#### `floatfield` manipulators <a id="floatfield.manip">[[floatfield.manip]]</a>
|
| 2 |
|
| 3 |
+
Each function specified in this subclause is a designated addressable
|
| 4 |
+
function [[namespace.std]].
|
| 5 |
+
|
| 6 |
``` cpp
|
| 7 |
ios_base& fixed(ios_base& str);
|
| 8 |
```
|
| 9 |
|
| 10 |
*Effects:* Calls `str.setf(ios_base::fixed, ios_base::floatfield)`.
|
|
|
|
| 28 |
|
| 29 |
*Returns:* `str`.
|
| 30 |
|
| 31 |
[*Note 1*: The more obvious use of `ios_base::hex` to specify
|
| 32 |
hexadecimal floating-point format would change the meaning of existing
|
| 33 |
+
well-defined programs. C++03 gives no meaning to the combination of
|
| 34 |
`fixed` and `scientific`. — *end note*]
|
| 35 |
|
| 36 |
``` cpp
|
| 37 |
ios_base& defaultfloat(ios_base& str);
|
| 38 |
```
|