Re: [COMMITTERS] pgsql: Add trigonometric functions that work in degrees.
В списке pgsql-hackers по дате отправления:
| От | Peter Eisentraut |
|---|---|
| Тема | Re: [COMMITTERS] pgsql: Add trigonometric functions that work in degrees. |
| Дата | |
| Msg-id | 570311F1.6020902@gmx.net обсуждение исходный текст |
| Ответы |
Re: Re: [COMMITTERS] pgsql: Add trigonometric functions
that work in degrees.
Re: Re: [COMMITTERS] pgsql: Add trigonometric functions that work in degrees. |
| Список | pgsql-hackers |
On 01/22/2016 03:46 PM, Tom Lane wrote: > Add trigonometric functions that work in degrees. > > The implementations go to some lengths to deliver exact results for values > where an exact result can be expected, such as sind(30) = 0.5 exactly. I have a host here that is having regression test failures from this commit: --- src/test/regress/expected/float8.out +++ src/test/regress/results/float8.out @@ -490,9 +490,9 @@ x | asind | acosd | atand ------+-------+-------+------- -1 | -90 | 180 | -45 - -0.5 | -30 | 120 | + -0.5 | | 120 | 0 | 0 | 90 | 0 - 0.5 | 30 | 60 | + 0.5 | | 60 | 1 | 90 | 0 | 45 (5 rows) Any ideas?
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера