27 lines · plain
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-exception7//8//===----------------------------------------------------------------------===//9 10export namespace std {11#if defined(__STDCPP_FLOAT16_T__)12 using std::float16_t;13#endif14#if defined(__STDCPP_FLOAT32_T__)15 using std::float32_t;16#endif17#if defined(__STDCPP_FLOAT64_T__)18 using std::float64_t;19#endif20#if defined(__STDCPP_FLOAT128_T__)21 using std::float128_t;22#endif23#if defined(__STDCPP_BFLOAT16_T__)24 using std::bfloat16_t;25#endif26} // namespace std27