public inbox for [email protected]  
help / color / mirror / Atom feed
From: Josh berkus <[email protected]>
To: [email protected]
Subject: Fwd: [CORE] Documentation Error: Ceiling, Floor
Date: Tue, 3 May 2016 09:14:34 -0700
Message-ID: <[email protected]> (raw)
In-Reply-To: <WM!693f6cbeb6f0950e80c284fde1f106f63f0652f8079e793ad259eb9414bd71bdbaa26ab26654ff088192357fff277f25!@asav-2.01.com>
References: <WM!693f6cbeb6f0950e80c284fde1f106f63f0652f8079e793ad259eb9414bd71bdbaa26ab26654ff088192357fff277f25!@asav-2.01.com>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-docs>




-------- Forwarded Message --------
Subject: [CORE] Documentation Error: Ceiling, Floor
Date: Tue, 3 May 2016 11:00:10 +0200
From: patrick s. <[email protected]>
To: [email protected], [email protected]

Dear PostgreSQL developers and webmasters

It appears that the documentation of the mathematical functions
"ceiling" and "floor" are wrong (inverted).

result is correct and as one would expect::
select ceiling(43.8); =>44
select floor(43.8);  =>43

documentation is misleading:
select ceiling(43.8); =>43
select floor(43.8); =>44

found in:
http://www.postgresql.org/docs/9.1/static/functions-math.html
http://www.postgresql.org/docs/7.4/static/functions-math.html

Cheers,
Patrick


-- 
Sent via pgsql-core mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-core




-- 
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs




view thread (6+ messages)

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: [email protected]
  Cc: [email protected]
  Subject: Re: Fwd: [CORE] Documentation Error: Ceiling, Floor
  In-Reply-To: <[email protected]>

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

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