Re: [xml] Simplify XPath NaN, inf and -0 handling

2017-12-09 Thread Earnie
On 12/9/2017 8:55 AM, Nick Wellnhofer wrote: > On 08/12/2017 10:26, Daniel Veillard wrote: >>    what do you really gain by this ? >> Things which were known portable cross many platforms now become >> unclear again. >> Trio might be deprecated, I would ask Daniel Stenberg first, so in copy, > > M

Re: [xml] Simplify XPath NaN, inf and -0 handling

2017-12-09 Thread Nick Wellnhofer
On 08/12/2017 10:26, Daniel Veillard wrote: what do you really gain by this ? Things which were known portable cross many platforms now become unclear again. Trio might be deprecated, I would ask Daniel Stenberg first, so in copy, Most of all, I want to get rid of the Trio dependency. I'm aw

Re: [xml] Simplify XPath NaN, inf and -0 handling

2017-12-08 Thread Daniel Veillard
On Tue, Nov 14, 2017 at 04:23:29PM +0100, Nick Wellnhofer wrote: > Here's are patch that I'd like to discuss before committing. Hi Nick, what do you really gain by this ? Things which were known portable cross many platforms now become unclear again. Trio might be deprecated, I would ask Dan

[xml] Simplify XPath NaN, inf and -0 handling

2017-11-14 Thread Nick Wellnhofer
Here's are patch that I'd like to discuss before committing. Nick -- https://github.com/nwellnhof/libxml2/commit/8813f397f8925f85ffbe9e9fb62bfaa3c1accf11 Simplify XPath NaN, inf and -0 handling Use C99 macros NAN, INFINITY, isnan, isinf. If they're not available: - Assume tha