Re: BUG #2037: user function call unexpected "input out of range"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #2037: user function call unexpected "input out of range"
Дата
Msg-id 28310.1131815929@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #2037: user function call unexpected "input out of range"  ("Tom" <lackey@ltu.edu>)
Список pgsql-bugs
"Tom" <lackey@ltu.edu> writes:
> Description:        user function call unexpected "input out of range"

Why does this surprise you?  Floating point computation is inherently
inexact, so coming out with a value fractionally greater than 1 for
the acos() argument doesn't seem all that unlikely.  You probably
ought to add some code to clamp the result to the legal range.

            regards, tom lane

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

Предыдущее
От: "wgh"
Дата:
Сообщение: BUG #2038: fetch items truncated
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: BUG #2037: user function call unexpected "input out of range"