Re: [xml] XPath Infinities



On Sat, Apr 28, 2001 at 03:08:42PM +0000, Bjorn Reese wrote:
Daniel Veillard wrote:

  this whole issue is a huge mess ...

Indeed. We ought to extract all the NaN and Inf stuff into a separate file.

  What are needed for XPath are portable implementations of:
    - isnan()
    - isinf()
    - initialization routine to get a +INF a -INF and a NAN

all this according to the IEEE 754 standard and the available implementation
for the C double type.

I have attached two small patches for libxml. Unfortunately, I have not
tested them myself as I don't have access to the GNOME CVS from the Alpha
machine. Could somebody check them out, and report whether they work or not?
If possible, I would like to hear if they work with both GCC and the vendor
CC.

Okay I commited them, maybe we will get the answer at the next release :-\

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/




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