Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group