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