Re: Proposal: Trigonometric functions in degrees

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Proposal: Trigonometric functions in degrees
Дата
Msg-id 562E82F7.2060704@gmx.net
обсуждение исходный текст
Ответ на Proposal: Trigonometric functions in degrees  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Ответы Re: Proposal: Trigonometric functions in degrees  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Список pgsql-hackers
On 10/24/15 5:24 AM, Dean Rasheed wrote:
> Additionally, functions that worked natively in degrees would be able
> to return exact answers in special cases like cosd(90) = 0, whereas
> cos(radians(90)) is not exactly 0 because pi/2 cannot be represented
> exactly as a floating point number.

But how you are going to implement that?  I don't see a sind() in the C
library.




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

Предыдущее
От: Dean Rasheed
Дата:
Сообщение: Re: Proposal: Trigonometric functions in degrees
Следующее
От: Dean Rasheed
Дата:
Сообщение: Re: Proposal: Trigonometric functions in degrees