pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: He Weiping(Laser Henry) <laser@zhengmai.com.cn>
To: pgsql-docs@postgresql.org
Subject: some errors and/or bugs?
Date: Tue, 19 Dec 2000 08:48:30 +0800
Message-ID: <3A3EB05E.C564D84A@zhengmai.com.cn> (raw)

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




view thread (4+ messages)  latest in thread

Message-ID: <3A3EB05E.C564D84A@zhengmai.com.cn>
Permalink:  ../3A3EB05E.C564D84A@zhengmai.com.cn/
Also on:    postgresql.org/message-id/3A3EB05E.C564D84A@zhengmai.com.cn

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: laser@zhengmai.com.cn
  Subject: Re: some errors and/or bugs?
  In-Reply-To: <3A3EB05E.C564D84A@zhengmai.com.cn>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox