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,
|
| 24 |
-
typedef ratio<1,
|
| 25 |
-
typedef ratio<1,
|
| 26 |
-
typedef ratio<1,
|
| 27 |
-
typedef ratio<1,
|
| 28 |
-
typedef ratio<1,
|
| 29 |
-
typedef ratio<1,
|
| 30 |
-
typedef ratio<1,
|
| 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<
|
| 36 |
-
typedef ratio<
|
| 37 |
-
typedef ratio<
|
| 38 |
-
typedef ratio<
|
| 39 |
-
typedef ratio<
|
| 40 |
-
typedef ratio<
|
| 41 |
-
typedef ratio<
|
| 42 |
-
typedef ratio<
|
| 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 |
|