| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> |
| Cc: | Huong Dangminh <huo-dangminh(at)ys(dot)jp(dot)nec(dot)com>, Euler Taveira <euler(at)timbira(dot)com(dot)br>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>, Akio Iwaasa <aki-iwaasa(at)vt(dot)jp(dot)nec(dot)com> |
| Subject: | Re: power() function in Windows: "value out of range: underflow" |
| Date: | 2018-04-29 22:10:17 |
| Message-ID: | 4591.1525039817@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs pgsql-hackers |
David Rowley <david(dot)rowley(at)2ndquadrant(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Rowley | 2018-04-29 22:10:34 | Re: power() function in Windows: "value out of range: underflow" |
| Previous Message | David Rowley | 2018-04-29 21:59:06 | Re: power() function in Windows: "value out of range: underflow" |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Rowley | 2018-04-29 22:10:34 | Re: power() function in Windows: "value out of range: underflow" |
| Previous Message | David Rowley | 2018-04-29 21:59:06 | Re: power() function in Windows: "value out of range: underflow" |