diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2017-11-27 14:30:19 +0100 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2017-11-27 14:33:26 +0100 |
commit | ddbb075b70abdc8166f878f039c5efd27a9df3e0 (patch) | |
tree | 617bc94553a24ddb10c87ee79b44c117503b54e1 /xpath.c | |
parent | c1002101f7e5b5194af50e6d2be38c96054dfef2 (diff) | |
download | libxml2-ddbb075b70abdc8166f878f039c5efd27a9df3e0.tar.gz |
Fix xmlXPathIsNaN broken by recent commit
Diffstat (limited to 'xpath.c')
-rw-r--r-- | xpath.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -524,7 +524,7 @@ xmlXPathIsNaN(double val) { int xmlXPathIsInf(double val) { #ifdef isinf - return isinf(val); + return isinf(val) ? (val > 0 ? 1 : -1) : 0; #else if (val >= HUGE_VAL) return 1; |