Re: Exponantial Function (exp) with bigger argument ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Exponantial Function (exp) with bigger argument ?
Дата
Msg-id 23172.1304445664@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Exponantial Function (exp) with bigger argument ?  ("Gregor GT. Trefs" <gregor.trefs@delphit.com>)
Ответы Re: Exponantial Function (exp) with bigger argument ?  ("Gregor GT. Trefs" <gregor.trefs@delphit.com>)
Список pgsql-novice
"Gregor GT. Trefs" <gregor.trefs@delphit.com> writes:
> Is there any possibility to overcome the restriction to not use a
> higher number than appr. 100 as an argument for the exponential
> function in postgres ?

What restriction?


regression=# select exp(1000.0);
                                                          exp

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

197007112172228764285408431116443651047300981094802008755853985828350443654498948052236544085754035611119684706809582853182955874910502440327439392806215139501177952207939837125875818468684009900351395991300432715505235653014871192637790968152087501139107799418773107714238073871162818125586289629983090134192022542188366296411429692950563401460360277794420292466575635467954804734395417151344955106563797211636884598324669752528955502.2
(1 row)

Mind you, it would be unwise to assume that that answer is *exact*
... exactly what is the "business logic" that requires such large
exponentials, and are you sure you're getting non-garbage results on any
other platform?

            regards, tom lane

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

Предыдущее
От: Grzegorz Szpetkowski
Дата:
Сообщение: Re: create a database with encoding LATIN1
Следующее
От: Grzegorz Szpetkowski
Дата:
Сообщение: Re: create a database with encoding LATIN1