Search Postgresql Archives

Avoiding in underflow in double -> real conversions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



List-

I've got a calculation that, due to its use of exp(), is produces double precision intermediate results which I ultimately need to cast back to real to store in a table column. However, with certain inputs, this results in an underflow error. Is there any way outside of an exception-trapping plpgsql function to performance the conversion and simply cause underflows to result in a 0?

Thanks for any ideas.

--
- David T. Wilson
david.t.wilson@xxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux