Re: Question to datatype.sgml

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>
Cc: vik(dot)fearing(at)2ndquadrant(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Question to datatype.sgml
Date: 2019-12-30 04:51:59
Message-ID: 4309.1577681519@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp> writes:
>>> Can you please someone elaborate what's the meaning of "even" in
>>> datatype.sgml?

>>>> representable values, in order to avoid a widespread bug where input
>>>> routines do not properly respect the round-to-even rule.) This value will

>> It does actually mean "even and odd". This kind of rounding is also
>> called "Banker's Rounding".
>> https://en.wikipedia.org/wiki/Rounding#Round_half_to_even

> Oh, Thanks! The link is very helpful.

I think actually the standard terminology is "round-to-nearest-even".

regards, tom lane

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2019-12-30 10:15:35 Transaction Management requires Autocommit
Previous Message Tatsuo Ishii 2019-12-30 02:07:36 Re: Question to datatype.sgml