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 12*5f757f3fSDimitry Andric // [complex], class template complex 13*5f757f3fSDimitry Andric using std::complex; 14*5f757f3fSDimitry Andric 15*5f757f3fSDimitry Andric // [complex.ops], operators 16*5f757f3fSDimitry Andric using std::operator+; 17*5f757f3fSDimitry Andric using std::operator-; 18*5f757f3fSDimitry Andric using std::operator*; 19*5f757f3fSDimitry Andric using std::operator/; 20*5f757f3fSDimitry Andric 21*5f757f3fSDimitry Andric using std::operator==; 22*5f757f3fSDimitry Andric#ifndef _LIBCPP_HAS_NO_LOCALIZATION 23*5f757f3fSDimitry Andric using std::operator>>; 24*5f757f3fSDimitry Andric using std::operator<<; 25*5f757f3fSDimitry Andric#endif // _LIBCPP_HAS_NO_LOCALIZATION 26*5f757f3fSDimitry Andric 27*5f757f3fSDimitry Andric // [complex.value.ops], values 28*5f757f3fSDimitry Andric using std::imag; 29*5f757f3fSDimitry Andric using std::real; 30*5f757f3fSDimitry Andric 31*5f757f3fSDimitry Andric using std::abs; 32*5f757f3fSDimitry Andric using std::arg; 33*5f757f3fSDimitry Andric using std::norm; 34*5f757f3fSDimitry Andric 35*5f757f3fSDimitry Andric using std::conj; 36*5f757f3fSDimitry Andric using std::polar; 37*5f757f3fSDimitry Andric using std::proj; 38*5f757f3fSDimitry Andric 39*5f757f3fSDimitry Andric // [complex.transcendentals], transcendentals 40*5f757f3fSDimitry Andric using std::acos; 41*5f757f3fSDimitry Andric using std::asin; 42*5f757f3fSDimitry Andric using std::atan; 43*5f757f3fSDimitry Andric 44*5f757f3fSDimitry Andric using std::acosh; 45*5f757f3fSDimitry Andric using std::asinh; 46*5f757f3fSDimitry Andric using std::atanh; 47*5f757f3fSDimitry Andric 48*5f757f3fSDimitry Andric using std::cos; 49*5f757f3fSDimitry Andric using std::cosh; 50*5f757f3fSDimitry Andric using std::exp; 51*5f757f3fSDimitry Andric using std::log; 52*5f757f3fSDimitry Andric using std::log10; 53*5f757f3fSDimitry Andric 54*5f757f3fSDimitry Andric using std::pow; 55*5f757f3fSDimitry Andric 56*5f757f3fSDimitry Andric using std::sin; 57*5f757f3fSDimitry Andric using std::sinh; 58*5f757f3fSDimitry Andric using std::sqrt; 59*5f757f3fSDimitry Andric using std::tan; 60*5f757f3fSDimitry Andric using std::tanh; 61*5f757f3fSDimitry Andric 62*5f757f3fSDimitry Andric // [complex.literals], complex literals 63*5f757f3fSDimitry Andric inline namespace literals { 64*5f757f3fSDimitry Andric inline namespace complex_literals { 65*5f757f3fSDimitry Andric using std::operator""il; 66*5f757f3fSDimitry Andric using std::operator""i; 67*5f757f3fSDimitry Andric using std::operator""if; 68*5f757f3fSDimitry Andric } // namespace complex_literals 69*5f757f3fSDimitry Andric } // namespace literals 70*5f757f3fSDimitry Andric 71*5f757f3fSDimitry Andric} // namespace std 72