Re: Proposal: Trigonometric functions in degrees

Поиск
Список
Период
Сортировка
От Piotr Stefaniak
Тема Re: Proposal: Trigonometric functions in degrees
Дата
Msg-id BLU436-SMTP128AB208D4F1E5D4984682CF2DD0@phx.gbl
обсуждение исходный текст
Ответ на Re: Proposal: Trigonometric functions in degrees  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
On 01/31/2016 01:23 PM, Michael Paquier wrote:
> Per IEEE 754, division by 0 for a double results in Nan or +/-Inf, so
> that's actually correct.

I didn't know that. I guess that in practice that is OK and the case is 
closed.

Interestingly to me, that assumption appears to rely on the C 
implementation complying to IEC 60559, in which case C99 lets the 
implementation signal that by defining the __STDC_IEC_559__ macro. C89 
doesn't seem to mention any of this.




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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: PATCH: track last known XLOG segment in control file
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: PostgreSQL Audit Extension