pow returns nan instead of inf for large results
|Reported by:||markh||Owned by:||jessicah|
|Has a Patch:||yes||Platform:||All|
When calculating large results with pow, it returns nan instead of inf. This causes one check in postgresql to fail.
For example: pow(-1004.3, 1e200) returns nan on Haiku, while inf is expected.
I created a small test program that shows the behaviour and attached it to this ticket.
Ingo told me that the problem is probably in glibc, but I'm not sure which component to select from the list.
Change History (11)
by , 5 years ago