backend/utils/adt/float.c uses non-existent NAN value

From: Taral <taral(at)cyberjunkie(dot)com>
To: hackers(at)postgresql(dot)org
Subject: backend/utils/adt/float.c uses non-existent NAN value
Date: 1999-01-16 05:27:41
Message-ID: 99011523291100.25640@taral.dobiecenter.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Seems at some point someone decided not to be machine-independent in
backend/utils/adt/float.c

Redhat 5.2 system with gcc 2.8.1 doesn't define NAN unless _GNU_SOURCE is
defined first. Although include/utils/dt.h *does* check for NAN (and HUGE_VAL)
before using them, the float.c doesn't.

What happened?

Taral

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-01-16 05:40:20 Re: [HACKERS] backend/utils/adt/float.c uses non-existent NAN value
Previous Message Taral 1999-01-16 04:47:35 Unsubscribed?