std.cfg: Added some floating point constants from <math.h>.

This commit is contained in:
orbitcowboy 2018-06-01 11:45:05 +02:00
parent 26e5c93e37
commit 34372aaf00
1 changed files with 36 additions and 0 deletions

View File

@ -1,5 +1,41 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<def format="2"> <def format="2">
<!-- math.h constants-->
<define name="FLT_RADIX" value="2"/>
<define name="DECIMAL_DIG" value="21"/>
<define name="FLT_DECIMAL_DIG" value="9"/>
<define name="DBL_DECIMAL_DIG" value="17"/>
<define name="LDBL_DECIMAL_DIG" value="21"/>
<define name="FLT_MIN" value="1.175494e-38"/>
<define name="FLT_MAX" value="3.402823e+38"/>
<define name="FLT_EPSILON" value="1.192093e-07"/>
<define name="FLT_DIG" value="6"/>
<define name="FLT_MANT_DIG" value="24"/>
<define name="FLT_MIN_EXP" value="-125"/>
<define name="FLT_MIN_10_EXP" value="-37"/>
<define name="FLT_MAX_EXP" value="128"/>
<define name="FLT_MAX_10_EXP" value="38"/>
<define name="FLT_ROUNDS" value="1"/>
<define name="FLT_EVAL_METHOD" value="0"/>
<define name="FLT_HAS_SUBNORM" value="1"/>
<define name="DBL_MIN" value="2.225074e-308"/>
<define name="DBL_MAX" value="1.797693e+308"/>
<define name="DBL_EPSILON" value="2.220446e-16"/>
<define name="DBL_DIG" value="15"/>
<define name="DBL_MANT_DIG" value="53"/>
<define name="DBL_MIN_EXP" value="-1021"/>
<define name="DBL_MIN_10_EXP" value="-307"/>
<define name="DBL_MAX_EXP" value="1024"/>
<define name="DBL_MAX_10_EXP" value="308"/>
<define name="LDBL_MIN" value="3.362103e-4932"/>
<define name="LDBL_MAX" value="1.189731e+4932"/>
<define name="LDBL_EPSILON" value="1.084202e-19"/>
<define name="LDBL_DIG" value="18"/>
<define name="LDBL_MANT_DIG" value="64"/>
<define name="LDBL_MIN_EXP" value="-16381"/>
<define name="LDBL_MIN_10_EXP" value="-4931"/>
<define name="LDBL_MAX_EXP" value="16384"/>
<define name="LDBL_MAX_10_EXP" value="4932"/>
<define name="INT8_MIN" value="-128"/> <define name="INT8_MIN" value="-128"/>
<define name="INT16_MIN" value="-32768"/> <define name="INT16_MIN" value="-32768"/>
<define name="INT32_MIN" value="-2147483648"/> <define name="INT32_MIN" value="-2147483648"/>