std::fpclassify
来自cppreference.com
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Defined in header <cmath>
|
||
int fpclassify( float arg ); |
(C++11 起) | |
int fpclassify( double arg ); |
(C++11 起) | |
int fpclassify( long double arg ); |
(C++11 起) | |
分为以下几类:零,低于正常,正常的,无限的,NAN或实现定义的类别分类浮点值
arg
. Original:
Categorizes floating point value
arg
into the following categories: zero, subnormal, normal, infinite, NAN, or implementation-defined category. The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[编辑] 参数
arg | - | 浮点值
Original: floating point value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[编辑] 返回值
FP_INFINITE,FP_NAN,FP_NORMAL,FP_SUBNORMAL,FP_ZERO或实现自定义类型,指定类别的
arg
.Original:
one of FP_INFINITE, FP_NAN, FP_NORMAL, FP_SUBNORMAL, FP_ZERO or implementation-defined type, specifying the category of
arg
.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[编辑] 另请参阅
(C++11) |
如果给定数量的检查具有有限的价值 Original: checks if the given number has finite value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) |
(C++11) |
检查,如果给定的数目是无限的 Original: checks if the given number is infinite The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) |
(C++11) |
检查,如果给定的数字为NaN Original: checks if the given number is NaN The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) |
(C++11) |
检查如果给定的数字是正常的 Original: checks if the given number is normal The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) |
提供了一个接口的所有基本数字类型的查询性能. Original: provides an interface to query properties of all fundamental numeric types. The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (类模板) |