Standard library header <stdfloat> (C++23)
From cppreference.net
C++
Standard library headers
이 헤더는 type support 라이브러리의 일부로, fixed width floating-point types 을 제공합니다.
타입 |
||
|
(C++23)
(optional)
|
각각 정확히 16, 32, 64, 128비트 너비의 이진 부동소수점 타입
(typedef) |
|
|
(C++23)
(optional)
|
정확히 16비트의 브레인 부동소수점 타입
(typedef) |
|
참고 사항
고정 너비 부동 소수점 타입은 확장 부동 소수점 타입의 별칭이어야 하므로( float / double / long double 가 아님), 표준 부동 소수점 타입의 완전 대체재가 아닙니다.
시놉시스
namespace std { #if defined(__STDCPP_FLOAT16_T__) using float16_t = /* 구현-정의됨 */; #endif #if defined(__STDCPP_FLOAT32_T__) using float32_t = /* 구현-정의됨 */; #endif #if defined(__STDCPP_FLOAT64_T__) using float64_t = /* 구현-정의됨 */; #endif #if defined(__STDCPP_FLOAT128_T__) using float128_t = /* 구현-정의됨 */; #endif #if defined(__STDCPP_BFLOAT16_T__) using bfloat16_t = /* 구현-정의됨 */; #endif }
참조문헌
- C++23 표준 (ISO/IEC 14882:2024):
-
-
17.5 헤더
<stdfloat>개요 [stdfloat.syn]
-
17.5 헤더