From Jason Turner

[ratio.syn]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpb34svdxn/{from.md → to.md} +16 -16
tmp/tmpb34svdxn/{from.md → to.md} RENAMED
@@ -18,28 +18,28 @@ namespace std {
18
  template <class R1, class R2> struct ratio_less_equal;
19
  template <class R1, class R2> struct ratio_greater;
20
  template <class R1, class R2> struct ratio_greater_equal;
21
 
22
  // [ratio.si], convenience SI typedefs
23
- typedef ratio<1, 1000000000000000000000000> yocto; // see below
24
- typedef ratio<1, 1000000000000000000000> zepto; // see below
25
- typedef ratio<1, 1000000000000000000> atto;
26
- typedef ratio<1, 1000000000000000> femto;
27
- typedef ratio<1, 1000000000000> pico;
28
- typedef ratio<1, 1000000000> nano;
29
- typedef ratio<1, 1000000> micro;
30
- typedef ratio<1, 1000> milli;
31
  typedef ratio<1, 100> centi;
32
  typedef ratio<1, 10> deci;
33
  typedef ratio< 10, 1> deca;
34
  typedef ratio< 100, 1> hecto;
35
- typedef ratio< 1000, 1> kilo;
36
- typedef ratio< 1000000, 1> mega;
37
- typedef ratio< 1000000000, 1> giga;
38
- typedef ratio< 1000000000000, 1> tera;
39
- typedef ratio< 1000000000000000, 1> peta;
40
- typedef ratio< 1000000000000000000, 1> exa;
41
- typedef ratio< 1000000000000000000000, 1> zetta; // see below
42
- typedef ratio<1000000000000000000000000, 1> yotta; // see below
43
  }
44
  ```
45
 
 
18
  template <class R1, class R2> struct ratio_less_equal;
19
  template <class R1, class R2> struct ratio_greater;
20
  template <class R1, class R2> struct ratio_greater_equal;
21
 
22
  // [ratio.si], convenience SI typedefs
23
+ typedef ratio<1, 1'000'000'000'000'000'000'000'000> yocto; // see below
24
+ typedef ratio<1, 1'000'000'000'000'000'000'000> zepto; // see below
25
+ typedef ratio<1, 1'000'000'000'000'000'000> atto;
26
+ typedef ratio<1, 1'000'000'000'000'000> femto;
27
+ typedef ratio<1, 1'000'000'000'000> pico;
28
+ typedef ratio<1, 1'000'000'000> nano;
29
+ typedef ratio<1, 1'000'000> micro;
30
+ typedef ratio<1, 1'000> milli;
31
  typedef ratio<1, 100> centi;
32
  typedef ratio<1, 10> deci;
33
  typedef ratio< 10, 1> deca;
34
  typedef ratio< 100, 1> hecto;
35
+ typedef ratio< 1'000, 1> kilo;
36
+ typedef ratio< 1'000'000, 1> mega;
37
+ typedef ratio< 1'000'000'000, 1> giga;
38
+ typedef ratio< 1'000'000'000'000, 1> tera;
39
+ typedef ratio< 1'000'000'000'000'000, 1> peta;
40
+ typedef ratio< 1'000'000'000'000'000'000, 1> exa;
41
+ typedef ratio< 1'000'000'000'000'000'000'000, 1> zetta; // see below
42
+ typedef ratio<1'000'000'000'000'000'000'000'000, 1> yotta; // see below
43
  }
44
  ```
45