Mark de Wever | 600462a | 2023-12-09 12:51:50 | [diff] [blame] | 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 | |
| 10 | export { |
| 11 | // types |
Mark de Wever | 6c4dedd | 2024-05-03 15:29:27 | [diff] [blame] | 12 | using ::fenv_t _LIBCPP_USING_IF_EXISTS; |
| 13 | using ::fexcept_t _LIBCPP_USING_IF_EXISTS; |
Mark de Wever | 600462a | 2023-12-09 12:51:50 | [diff] [blame] | 14 | |
| 15 | // functions |
Mark de Wever | 6c4dedd | 2024-05-03 15:29:27 | [diff] [blame] | 16 | using ::feclearexcept _LIBCPP_USING_IF_EXISTS; |
| 17 | using ::fegetexceptflag _LIBCPP_USING_IF_EXISTS; |
| 18 | using ::feraiseexcept _LIBCPP_USING_IF_EXISTS; |
| 19 | using ::fesetexceptflag _LIBCPP_USING_IF_EXISTS; |
| 20 | using ::fetestexcept _LIBCPP_USING_IF_EXISTS; |
Mark de Wever | 600462a | 2023-12-09 12:51:50 | [diff] [blame] | 21 | |
Mark de Wever | 6c4dedd | 2024-05-03 15:29:27 | [diff] [blame] | 22 | using ::fegetround _LIBCPP_USING_IF_EXISTS; |
| 23 | using ::fesetround _LIBCPP_USING_IF_EXISTS; |
Mark de Wever | 600462a | 2023-12-09 12:51:50 | [diff] [blame] | 24 | |
Mark de Wever | 6c4dedd | 2024-05-03 15:29:27 | [diff] [blame] | 25 | using ::fegetenv _LIBCPP_USING_IF_EXISTS; |
| 26 | using ::feholdexcept _LIBCPP_USING_IF_EXISTS; |
| 27 | using ::fesetenv _LIBCPP_USING_IF_EXISTS; |
| 28 | using ::feupdateenv _LIBCPP_USING_IF_EXISTS; |
Mark de Wever | 600462a | 2023-12-09 12:51:50 | [diff] [blame] | 29 | } // export |