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

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

pgsql-docs by date

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

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