some errors and/or bugs?

Поиск
Список
Период
Сортировка
От He Weiping(Laser Henry)
Тема some errors and/or bugs?
Дата
Msg-id 3A3EB05E.C564D84A@zhengmai.com.cn
обсуждение исходный текст
Ответы Re: some errors and/or bugs?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-docs
func.sgml line 251:
cbrt(27.0) = 3.0, not 9.0,
so it seems it's not the reault of: select cbrt(27.0); but someone's
thinking. :-)

and line 283 floor()'s result, 43, miss a minus, should be -43

and for the round( numeric ):
laser_zh=# select round(42.5);
 round
-------
    42
(1 row)

is it correct? I think result should be 43.
but for round( numeric, int):

laser_zh=# select round(42.4352, 2);
 round
-------
 42.44
(1 row)

seems correct.

Bug I don't know if there something related with my OS,
I'm using Slackware 7.1 glibc 2.1.3.
I could write some simple program to test it further, but need more
hints.

Regards

Laser


В списке pgsql-docs по дате отправления:

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: Re: [HACKERS] 7.1 features list
Следующее
От: Tom Lane
Дата:
Сообщение: Re: some errors and/or bugs?