Re: Math function description issue

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Jürgen Purtz <juergen(at)purtz(dot)de>, pgsql-docs(at)postgresql(dot)org
Subject: Re: Math function description issue
Date: 2016-06-09 15:58:57
Message-ID: 2979.1465487937@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com> writes:
> Matlab just uses "nearest" for both floor() and ceil(), e.g. "the
> nearest integer less than or equal to ...".

> To me, that seems clearer than smallest/largest or least/greatest
> because you don't have to think about which set of numbers it's trying
> to exclude. When thinking about the nearest integer, you only have to
> think about at most 2 possible values.

Hearing no objections, done that way.

regards, tom lane

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message javier.diaz.soto 2016-06-10 09:26:03 getRefCursor() is deprecated
Previous Message Dmitry Igrishin 2016-06-09 12:38:40 startup message -> StartupMessage