Обсуждение: pgsql-server/src backend/utils/adt/numeric.c i ...

Поиск
Список
Период
Сортировка

pgsql-server/src backend/utils/adt/numeric.c i ...

От
tgl@postgresql.org (Tom Lane)
Дата:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@postgresql.org    02/10/02 15:21:26

Modified files:
    src/backend/utils/adt: numeric.c
    src/include/utils: numeric.h
    src/test/regress/expected: aggregates.out

Log message:
    Alter scale selection for NUMERIC division and transcendental functions
    so that precision of result is always at least as good as you'd get from
    float8 arithmetic (ie, always at least 16 digits of accuracy).  Per
    pg_hackers discussion a few days ago.