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:
orbitcowboy 2023-10-01 23:51:06 +02:00 committed by GitHub
parent 6a8f787915
commit 1b3fa2af88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -68,6 +68,12 @@
<define name="_IOFBF" value="0"/>
<define name="_IOLBF" value="1"/>
<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 -->
<define name="errno_t" value="int"/>
<!-- void abort(void); -->