Re: Greatest Common Divisor

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Greatest Common Divisor
Дата
Msg-id 20200120190414.GA32010@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Greatest Common Divisor  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Ответы Re: Greatest Common Divisor
Список pgsql-hackers
On 2020-Jan-20, Dean Rasheed wrote:

> +       <entry>
> +        greatest common divisor — the largest positive number that
> +        divides both inputs with no remainder; returns <literal>0</literal> if
> +        both inputs are zero
> +       </entry>

Warning, severe TOC/bikeshedding ahead.

I don't know why, but this dash-semicolon sequence reads strange to me
and looks out of place.  I would use parens for the first phrase and
keep the semicolon, that is "greatest common divisor (the largest ...);
returns 0 if ..."

That seems more natural to me, and we're already using parens in other
description <entry>s.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] kqueue
Следующее
От: Andres Freund
Дата:
Сообщение: Re: error context for vacuum to include block number