Re: [HACKERS] NAN code

From: Hal Snyder <hal(at)enteract(dot)com>
To: hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] NAN code
Date: 1999-01-04 14:37:59
Message-ID: 87u2y7m7co.fsf@hippo.roxor.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

orion(dot)SAPserv(dot)Hamburg(dot)dsh(dot)de!wieck(at)sapserv(dot)debis(dot)de writes:

> Seems that only isnan() is defined as part of Posix. But not
> a definition that can force a NAN. So we have to find a
> portable way to define the value NaN for double and float.
> Does anybody know of such a way?

Bruce changed it to defining NAN as (0.0/0.0) if NAN isn't already
defined. This works on FreeBSD. I don't know if it will break on other
systems that don't have NAN already.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Constantin Teodorescu 1999-01-04 14:45:32 Re: [HACKERS] SQLJ
Previous Message Dan Gowin 1999-01-04 14:26:08 SQLJ