On 2013-10-29 02:29:03 +0100, Andres Freund wrote:
> 3. valgrind gets floating point computations for
> exp(larger_negative_double) wrong and returns the wrong error message:
> 
> regression=# SELECT exp(-808.3::float8);
> ERROR:  value out of range: overflow
> 
> exp sets errno=ERANGE and returns inf. That's not supposed to happen
> according to my exp(3)...

I've reported this as a valgrind bug... 
https://bugs.kde.org/show_bug.cgi?id=326821

Greetings,

Andres Freund

-- 
 Andres Freund                     http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to