Added floating point categories to handle the return value from fpclassify() (#5501)
Reference: https://en.cppreference.com/w/cpp/numeric/math/FP_categories
This commit is contained in:
parent
6a8f787915
commit
1b3fa2af88
|
@ -68,6 +68,12 @@
|
||||||
<define name="_IOFBF" value="0"/>
|
<define name="_IOFBF" value="0"/>
|
||||||
<define name="_IOLBF" value="1"/>
|
<define name="_IOLBF" value="1"/>
|
||||||
<define name="_IONBF" value="2"/>
|
<define name="_IONBF" value="2"/>
|
||||||
|
<!-- https://en.cppreference.com/w/cpp/numeric/math/FP_categories -->
|
||||||
|
<define name="FP_NORMAL" value="1"/>
|
||||||
|
<define name="FP_SUBNORMAL" value="2"/>
|
||||||
|
<define name="FP_ZERO" value="3"/>
|
||||||
|
<define name="FP_INFINITE" value="4"/>
|
||||||
|
<define name="FP_NAN" value="5"/>
|
||||||
<!-- errno_t is a typedef for int -->
|
<!-- errno_t is a typedef for int -->
|
||||||
<define name="errno_t" value="int"/>
|
<define name="errno_t" value="int"/>
|
||||||
<!-- void abort(void); -->
|
<!-- void abort(void); -->
|
||||||
|
|
Loading…
Reference in New Issue