tmp/tmp8q7dv7ia/{from.md → to.md}
RENAMED
|
@@ -3,17 +3,16 @@
|
|
| 3 |
``` cpp
|
| 4 |
template<class M, class N>
|
| 5 |
constexpr common_type_t<M,N> lcm(M m, N n);
|
| 6 |
```
|
| 7 |
|
| 8 |
-
*
|
| 9 |
-
`common_type_t<M, N>`. The least common multiple of `|m|` and `|n|`
|
| 10 |
-
shall be representable as a value of type `common_type_t<M,N>`.
|
| 11 |
|
| 12 |
-
*
|
| 13 |
-
|
|
|
|
| 14 |
|
| 15 |
*Returns:* Zero when either `m` or `n` is zero. Otherwise, returns the
|
| 16 |
-
least common multiple of
|
| 17 |
|
| 18 |
*Throws:* Nothing.
|
| 19 |
|
|
|
|
| 3 |
``` cpp
|
| 4 |
template<class M, class N>
|
| 5 |
constexpr common_type_t<M,N> lcm(M m, N n);
|
| 6 |
```
|
| 7 |
|
| 8 |
+
*Mandates:* `M` and `N` both are integer types and not cv `bool`.
|
|
|
|
|
|
|
| 9 |
|
| 10 |
+
*Preconditions:* |`m`| and |`n`| are representable as a value of
|
| 11 |
+
`common_type_t<M, N>`. The least common multiple of |`m`| and |`n`| is
|
| 12 |
+
representable as a value of type `common_type_t<M,N>`.
|
| 13 |
|
| 14 |
*Returns:* Zero when either `m` or `n` is zero. Otherwise, returns the
|
| 15 |
+
least common multiple of |`m`| and |`n`|.
|
| 16 |
|
| 17 |
*Throws:* Nothing.
|
| 18 |
|