Re: power() function in Windows: "value out of range: underflow" - Mailing list pgsql-bugs

From Tom Lane
Subject Re: power() function in Windows: "value out of range: underflow"
Date
Msg-id 4591.1525039817@sss.pgh.pa.us
Whole thread Raw
In response to Re: power() function in Windows: "value out of range: underflow"  (David Rowley <david.rowley@2ndquadrant.com>)
List pgsql-bugs
David Rowley <david.rowley@2ndquadrant.com> writes:
> I wonder if it's better just to hard code these two cases before even
> calling the pow() function.

Yeah, see my followup --- I also found out that SUSv2 (POSIX 1997)
doesn't require either of these special cases, which helps explain
why the inconsistency on older platforms.

Hacking on a patch now.

            regards, tom lane


pgsql-bugs by date:

Previous
From: David Rowley
Date:
Subject: Re: power() function in Windows: "value out of range: underflow"
Next
From: PG Bug reporting form
Date:
Subject: BUG #15179: Related to copy command