xref: /freebsd/contrib/llvm-project/libcxx/modules/std/ratio.inc (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1// -*- C++ -*-
2//===----------------------------------------------------------------------===//
3//
4// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5// See https://llvm.org/LICENSE.txt for license information.
6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7//
8//===----------------------------------------------------------------------===//
9
10export namespace std {
11  // [ratio.ratio], class template ratio
12  using std::ratio;
13
14  // [ratio.arithmetic], ratio arithmetic
15  using std::ratio_add;
16  using std::ratio_divide;
17  using std::ratio_multiply;
18  using std::ratio_subtract;
19
20  // [ratio.comparison], ratio comparison
21  using std::ratio_equal;
22  using std::ratio_greater;
23  using std::ratio_greater_equal;
24  using std::ratio_less;
25  using std::ratio_less_equal;
26  using std::ratio_not_equal;
27
28  using std::ratio_equal_v;
29  using std::ratio_greater_equal_v;
30  using std::ratio_greater_v;
31  using std::ratio_less_equal_v;
32  using std::ratio_less_v;
33  using std::ratio_not_equal_v;
34
35  // [ratio.si], convenience SI typedefs
36  using std::atto;
37  using std::centi;
38  using std::deca;
39  using std::deci;
40  using std::exa;
41  using std::femto;
42  using std::giga;
43  using std::hecto;
44  using std::kilo;
45  using std::mega;
46  using std::micro;
47  using std::milli;
48  using std::nano;
49  using std::peta;
50  using std::pico;
51  using std::tera;
52
53  // These are not supported by libc++, due to the range of intmax_t
54  // using std::yocto;
55  // using std::yotta;
56  // using std::zepto;
57  // using std::zetta
58} // namespace std
59