Re: pgsql/src/backend/utils/adt float.c - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql/src/backend/utils/adt float.c
Date
Msg-id 23910.991514971@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql/src/backend/utils/adt float.c  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-committers
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane writes:
>> Accept and output '-Infinity' as well as 'Infinity', per long-ago
>> suggestion from Ross Reedstrom.  Still needs work to make those symbols
>> convert to actual IEEE infinities (on machines where such things exist).

> #ifdef INFINITY
>     val = INFINITY;
> #else
>     elog?
> #endif

Else use HUGE_VAL, as the code does now, I would think.  But I just
sent a message to Ross Reedstrom and pghackers to reopen that
discussion; let's pick it up there.

            regards, tom lane

pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: pgsql/src/backend/utils/adt float.c
Next
From: Peter Eisentraut - PostgreSQL
Date:
Subject: pgsql/src backend/access/transam/xlog.c backen ...