diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2002-03-27 16:12:22 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2002-03-27 16:12:22 +0000 |
commit | 21458c85e209cd2621ac3eadfee075ae2dc0121d (patch) | |
tree | 265ddad9f17435573120fa5e843b8fe56ed5e6d5 /trionan.h | |
parent | 28dfed14a271056ddf0beae0e20c88b449486ae9 (diff) | |
download | libxml2-21458c85e209cd2621ac3eadfee075ae2dc0121d.tar.gz |
more patches from Richard Jinks Updated tests though they show a
* trionan.c trionan.h xpath.c: more patches from Richard Jinks
* test/XPath/expr/compare test/XPath/expr/equality
test/XPath/expr/floats test/XPath/expr/functions
test/XPath/expr/strings result/XPath/expr/compare
result/XPath/expr/equality result/XPath/expr/floats
result/XPath/expr/functions result/XPath/expr/strings: Updated
tests though they show a divergence on Linux
Daniel
Diffstat (limited to 'trionan.h')
-rw-r--r-- | trionan.h | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -23,6 +23,15 @@ #ifdef __cplusplus extern "C" { #endif + +enum { + TRIO_FP_INFINITE, + TRIO_FP_NAN, + TRIO_FP_NORMAL, + TRIO_FP_SUBNORMAL, + TRIO_FP_ZERO +}; + /* * Return NaN (Not-a-Number). */ @@ -49,6 +58,17 @@ TRIO_PUBLIC int trio_isnan(double number); */ TRIO_PUBLIC int trio_isinf(double number); +/* + * If number is finite return non-zero, otherwise return zero. + */ +TRIO_PUBLIC int trio_isfinite(double number); + +TRIO_PUBLIC int trio_signbit(double number); + +TRIO_PUBLIC int trio_fpclassify(double number); + +TRIO_PUBLIC double trio_nzero(void); + #ifdef __cplusplus } #endif |