pgsql: Update pow() tests to check for both errno==EDOM _and_

From: momjian(at)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Update pow() tests to check for both errno==EDOM _and_
Date: 2007-01-03 22:05:00
Message-ID: 20070103220500.9BA3B9F95E3@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Update pow() tests to check for both errno==EDOM _and_ result==Nan, and
document why this happens. Remove exp() errno check because not needed.

Modified Files:
--------------
pgsql/src/backend/utils/adt:
float.c (r1.138 -> r1.139)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/float.c.diff?r1=1.138&r2=1.139)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-01-03 22:39:26 pgsql: Fix regex_fixed_prefix() to cope reasonably well with regex
Previous Message Tom Lane 2007-01-03 19:34:24 pgsql: Fix erroneous error tests in pow/exp.