Warning: This file is not a C or C++ file. It does not have highlighting.
| 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 | #ifndef _LIBCPP___CHARCONV_TO_CHARS_FLOATING_POINT_H |
| 11 | #define _LIBCPP___CHARCONV_TO_CHARS_FLOATING_POINT_H |
| 12 | |
| 13 | #include <__charconv/chars_format.h> |
| 14 | #include <__charconv/to_chars_result.h> |
| 15 | #include <__config> |
| 16 | |
| 17 | #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) |
| 18 | # pragma GCC system_header |
| 19 | #endif |
| 20 | |
| 21 | _LIBCPP_BEGIN_NAMESPACE_STD |
| 22 | |
| 23 | #if _LIBCPP_STD_VER >= 17 |
| 24 | |
| 25 | _LIBCPP_AVAILABILITY_TO_CHARS_FLOATING_POINT _LIBCPP_EXPORTED_FROM_ABI to_chars_result |
| 26 | to_chars(char* __first, char* __last, float __value); |
| 27 | |
| 28 | _LIBCPP_AVAILABILITY_TO_CHARS_FLOATING_POINT _LIBCPP_EXPORTED_FROM_ABI to_chars_result |
| 29 | to_chars(char* __first, char* __last, double __value); |
| 30 | |
| 31 | _LIBCPP_AVAILABILITY_TO_CHARS_FLOATING_POINT _LIBCPP_EXPORTED_FROM_ABI to_chars_result |
| 32 | to_chars(char* __first, char* __last, long double __value); |
| 33 | |
| 34 | _LIBCPP_AVAILABILITY_TO_CHARS_FLOATING_POINT _LIBCPP_EXPORTED_FROM_ABI to_chars_result |
| 35 | to_chars(char* __first, char* __last, float __value, chars_format __fmt); |
| 36 | |
| 37 | _LIBCPP_AVAILABILITY_TO_CHARS_FLOATING_POINT _LIBCPP_EXPORTED_FROM_ABI to_chars_result |
| 38 | to_chars(char* __first, char* __last, double __value, chars_format __fmt); |
| 39 | |
| 40 | _LIBCPP_AVAILABILITY_TO_CHARS_FLOATING_POINT _LIBCPP_EXPORTED_FROM_ABI to_chars_result |
| 41 | to_chars(char* __first, char* __last, long double __value, chars_format __fmt); |
| 42 | |
| 43 | _LIBCPP_AVAILABILITY_TO_CHARS_FLOATING_POINT _LIBCPP_EXPORTED_FROM_ABI to_chars_result |
| 44 | to_chars(char* __first, char* __last, float __value, chars_format __fmt, int __precision); |
| 45 | |
| 46 | _LIBCPP_AVAILABILITY_TO_CHARS_FLOATING_POINT _LIBCPP_EXPORTED_FROM_ABI to_chars_result |
| 47 | to_chars(char* __first, char* __last, double __value, chars_format __fmt, int __precision); |
| 48 | |
| 49 | _LIBCPP_AVAILABILITY_TO_CHARS_FLOATING_POINT _LIBCPP_EXPORTED_FROM_ABI to_chars_result |
| 50 | to_chars(char* __first, char* __last, long double __value, chars_format __fmt, int __precision); |
| 51 | #endif // _LIBCPP_STD_VER >= 17 |
| 52 | |
| 53 | _LIBCPP_END_NAMESPACE_STD |
| 54 | |
| 55 | #endif // _LIBCPP___CHARCONV_TO_CHARS_FLOATING_POINT_H |
| 56 |
Warning: This file is not a C or C++ file. It does not have highlighting.
