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 22149.1525029880@sss.pgh.pa.us
Whole thread Raw
In response to RE: power() function in Windows: "value out of range: underflow"  (Huong Dangminh <huo-dangminh@ys.jp.nec.com>)
Responses Re: power() function in Windows: "value out of range: underflow"  (David Rowley <david.rowley@2ndquadrant.com>)
Re: power() function in Windows: "value out of range: underflow"  (David Rowley <david.rowley@2ndquadrant.com>)
RE: power() function in Windows: "value out of range: underflow"  (Huong Dangminh <huo-dangminh@ys.jp.nec.com>)
RE: power() function in Windows: "value out of range: underflow"  (Huong Dangminh <huo-dangminh@ys.jp.nec.com>)
List pgsql-bugs
Huong Dangminh <huo-dangminh@ys.jp.nec.com> writes:
>> 2018-04-11 0:13 GMT-03:00 David Rowley <david.rowley@2ndquadrant.com>:
>>> I can recreate this when building with MSVC 2012. I confirm that I see
>>> the same as you. Microsoft are setting errno to EDOM in the above 3
>>> cases, where in Linux the result is still NaN, just the errno is not
>>> set.

> I updated the patch as David Rowley mentioned.

Pushed.  I'd mainly note that you need to update all the variant float8
expected-files, not just the primary one.  (Sometimes this requires a
bit of guesswork, but here we're expecting all platforms to produce
the same result.  The buildfarm should tell us if I got it wrong.)

            regards, tom lane


pgsql-bugs by date:

Previous
From: Michael Meskes
Date:
Subject: Re: BUG #15176: ecpg generation error
Next
From: PG Bug reporting form
Date:
Subject: BUG #15178: не могу найти как получить бэта доступ к программе