some errors and/or bugs?

From: "He Weiping(Laser Henry)" <laser(at)zhengmai(dot)com(dot)cn>
To: pgsql-docs(at)postgresql(dot)org
Subject: some errors and/or bugs?
Date: 2000-12-19 00:48:30
Message-ID: 3A3EB05E.C564D84A@zhengmai.com.cn
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2000-12-19 01:02:49 Re: some errors and/or bugs?
Previous Message Tom Lane 2000-12-19 00:25:38 Re: Who is a maintainer of GiST code ?