RE: [xml] Getting crazy with float parsing

But if Trio isn't used, then some other generic floating 
point library is
As I've found out testing XPath expressions, the native 
support for floats
provided by the compilers is highly variable especially with (but not
limited to)
+ / - Infinity and NaN. A library like Trio is required to provide
across different compilers and platforms

This is what trio is doing in libxml now.
Can Trio not be fixed to improve it's accuracy rather than removing it

I would not remove it altogether, it does a good job regarding
Infinities and NaNs. Its floating-point -> string accuracy can probably
be improved. However, I observe that people prefer IEEE 754 format to
any other alternative, no matter how much more accurate that alternative
may be.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]