diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2009-10-27 20:16:08 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2009-10-27 20:16:08 +0000 |
commit | fb689fed2ba7034d91227bd4663870469bd2f612 (patch) | |
tree | 3a70f5090e8ff47dcd204d684bfee0759f8835e1 /tests/test.hpp | |
parent | 45298c730b74f7779305ecc96da7beb6572438de (diff) |
tests: More decimal digits are tested
git-svn-id: http://pugixml.googlecode.com/svn/trunk@177 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test.hpp')
-rw-r--r-- | tests/test.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.hpp b/tests/test.hpp index 028da62..f2d6266 100644 --- a/tests/test.hpp +++ b/tests/test.hpp @@ -43,7 +43,7 @@ inline bool test_xpath_number(const pugi::xml_node& node, const char* query, dou {
pugi::xpath_query q(query);
- return fabs(q.evaluate_number(node) - expected) < 1e-8f;
+ return fabs(q.evaluate_number(node) - expected) < 1e-16f;
}
inline bool test_xpath_number_nan(const pugi::xml_node& node, const char* query)
|