1*c9157d92SDimitry Andric// -*- C++ -*- 2*c9157d92SDimitry Andric//===----------------------------------------------------------------------===// 3*c9157d92SDimitry Andric// 4*c9157d92SDimitry Andric// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 5*c9157d92SDimitry Andric// See https://llvm.org/LICENSE.txt for license information. 6*c9157d92SDimitry Andric// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7*c9157d92SDimitry Andric// 8*c9157d92SDimitry Andric//===----------------------------------------------------------------------===// 9*c9157d92SDimitry Andric 10*c9157d92SDimitry Andricexport namespace std { 11*c9157d92SDimitry Andric#if defined(__STDCPP_FLOAT16_T__) 12*c9157d92SDimitry Andric using std::float16_t; 13*c9157d92SDimitry Andric#endif 14*c9157d92SDimitry Andric#if defined(__STDCPP_FLOAT32_T__) 15*c9157d92SDimitry Andric using std::float32_t; 16*c9157d92SDimitry Andric#endif 17*c9157d92SDimitry Andric#if defined(__STDCPP_FLOAT64_T__) 18*c9157d92SDimitry Andric using std::float64_t; 19*c9157d92SDimitry Andric#endif 20*c9157d92SDimitry Andric#if defined(__STDCPP_FLOAT128_T__) 21*c9157d92SDimitry Andric using std::float128_t; 22*c9157d92SDimitry Andric#endif 23*c9157d92SDimitry Andric#if defined(__STDCPP_BFLOAT16_T__) 24*c9157d92SDimitry Andric using std::bfloat16_t; 25*c9157d92SDimitry Andric#endif 26*c9157d92SDimitry Andric} // namespace std 27