From Jason Turner

[facet.num.put.fp]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpa3a14ddw/{from.md → to.md} +12 -0
tmp/tmpa3a14ddw/{from.md → to.md} RENAMED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ **Table: Floating-point conversions** <a id="facet.num.put.fp">[facet.num.put.fp]</a>
2
+
3
+ | State | `stdio` equivalent |
4
+ | ---------------------------------------------------------------------- | ------------------ |
5
+ | `floatfield == ios_base::fixed` | `%f` |
6
+ | `floatfield == ios_base::scientific && !uppercase` | `%e` |
7
+ | `floatfield == ios_base::scientific` | `%E` |
8
+ | `floatfield == (ios_base::fixed | ios_base::scientific) && !uppercase` | `%a` |
9
+ | `floatfield == (ios_base::fixed | ios_base::scientific)` | `%A` |
10
+ | `!uppercase` | `%g` |
11
+ | otherwise | `%G` |
12
+