tmp/tmp6vm27dy5/{from.md → to.md}
RENAMED
|
@@ -32,10 +32,12 @@ namespace std {
|
|
| 32 |
constexpr bool ratio_greater_v = ratio_greater<R1, R2>::value;
|
| 33 |
template<class R1, class R2>
|
| 34 |
constexpr bool ratio_greater_equal_v = ratio_greater_equal<R1, R2>::value;
|
| 35 |
|
| 36 |
// [ratio.si], convenience SI typedefs
|
|
|
|
|
|
|
| 37 |
using yocto = ratio<1, 1'000'000'000'000'000'000'000'000>; // see below
|
| 38 |
using zepto = ratio<1, 1'000'000'000'000'000'000'000>; // see below
|
| 39 |
using atto = ratio<1, 1'000'000'000'000'000'000>;
|
| 40 |
using femto = ratio<1, 1'000'000'000'000'000>;
|
| 41 |
using pico = ratio<1, 1'000'000'000'000>;
|
|
@@ -52,8 +54,10 @@ namespace std {
|
|
| 52 |
using tera = ratio< 1'000'000'000'000, 1>;
|
| 53 |
using peta = ratio< 1'000'000'000'000'000, 1>;
|
| 54 |
using exa = ratio< 1'000'000'000'000'000'000, 1>;
|
| 55 |
using zetta = ratio< 1'000'000'000'000'000'000'000, 1>; // see below
|
| 56 |
using yotta = ratio< 1'000'000'000'000'000'000'000'000, 1>; // see below
|
|
|
|
|
|
|
| 57 |
}
|
| 58 |
```
|
| 59 |
|
|
|
|
| 32 |
constexpr bool ratio_greater_v = ratio_greater<R1, R2>::value;
|
| 33 |
template<class R1, class R2>
|
| 34 |
constexpr bool ratio_greater_equal_v = ratio_greater_equal<R1, R2>::value;
|
| 35 |
|
| 36 |
// [ratio.si], convenience SI typedefs
|
| 37 |
+
using quecto = ratio<1, 1'000'000'000'000'000'000'000'000'000'000>; // see below
|
| 38 |
+
using ronto = ratio<1, 1'000'000'000'000'000'000'000'000'000>; // see below
|
| 39 |
using yocto = ratio<1, 1'000'000'000'000'000'000'000'000>; // see below
|
| 40 |
using zepto = ratio<1, 1'000'000'000'000'000'000'000>; // see below
|
| 41 |
using atto = ratio<1, 1'000'000'000'000'000'000>;
|
| 42 |
using femto = ratio<1, 1'000'000'000'000'000>;
|
| 43 |
using pico = ratio<1, 1'000'000'000'000>;
|
|
|
|
| 54 |
using tera = ratio< 1'000'000'000'000, 1>;
|
| 55 |
using peta = ratio< 1'000'000'000'000'000, 1>;
|
| 56 |
using exa = ratio< 1'000'000'000'000'000'000, 1>;
|
| 57 |
using zetta = ratio< 1'000'000'000'000'000'000'000, 1>; // see below
|
| 58 |
using yotta = ratio< 1'000'000'000'000'000'000'000'000, 1>; // see below
|
| 59 |
+
using ronna = ratio< 1'000'000'000'000'000'000'000'000'000, 1>; // see below
|
| 60 |
+
using quetta = ratio<1'000'000'000'000'000'000'000'000'000'000, 1>; // see below
|
| 61 |
}
|
| 62 |
```
|
| 63 |
|