Re: [HACKERS] NAN code

Поиск
Список
Период
Сортировка
От Hal Snyder
Тема Re: [HACKERS] NAN code
Дата
Msg-id 87u2y7m7co.fsf@hippo.roxor.org
обсуждение исходный текст
Ответ на Re: [HACKERS] NAN code  (orion.SAPserv.Hamburg.dsh.de!wieck@sapserv.debis.de)
Список pgsql-hackers
orion.SAPserv.Hamburg.dsh.de!wieck@sapserv.debis.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.


В списке pgsql-hackers по дате отправления:

Предыдущее
От: orion.SAPserv.Hamburg.dsh.de!wieck@sapserv.debis.de
Дата:
Сообщение: Re: [HACKERS] a test
Следующее
От: Constantin Teodorescu
Дата:
Сообщение: Re: [HACKERS] SQLJ