public inbox for [email protected]
help / color / mirror / Atom feedFrom: Dean Rasheed <[email protected]>
To: Alvaro Herrera <[email protected]>
Cc: Tom Lane <[email protected]>
Cc: Jürgen Purtz <[email protected]>
Cc: [email protected]
Subject: Re: Math function description issue
Date: Wed, 8 Jun 2016 06:20:42 +0100
Message-ID: <CAEZATCW3yzJo-NMSiQs5jXNFbTsCEftZS-Og8=FvFdiU+kYuSA@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-docs>
On 8 June 2016 at 00:11, Alvaro Herrera <[email protected]> wrote:
> Tom Lane wrote:
>> =?UTF-8?Q?J=c3=bcrgen_Purtz?= <[email protected]> writes:
>
>> > a) In my opinion this wording is easier to understand because it avoids
>> > the negation via "not less".
>>
>> That's a fair point.
>>
>> The other difference is least/greatest versus smallest/largest. I'm not
>> sure if using least/greatest would help the people who misunderstand
>> "smallest" as "closest to zero". They might; but being less-common words,
>> they might also confuse people whose native language isn't English.
>> Anyone have an opinion about which to use?
>
> As a non-native, the use of "least/greatest" makes it more explicit that
> it refers to arithmetic inequality, whereas "smallest" sounds like it
> may be related to absolute value comparisons. It's true that
> least/greatest are less common words, but that makes it more likely that
> they would be looked up in a dictionary, whereas with smallest/largest
> people might stick to intuitive knowledge and get them wrong.
>
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.
Regards,
Dean
--
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
view thread (8+ messages) latest in thread
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], [email protected], [email protected], [email protected]
Subject: Re: Math function description issue
In-Reply-To: <CAEZATCW3yzJo-NMSiQs5jXNFbTsCEftZS-Og8=FvFdiU+kYuSA@mail.gmail.com>
* 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