Re: simple division

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: simple division
Дата
Msg-id 20181205203727.lo6fadn6ttwyjqia@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: simple division  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
Список pgsql-general
On 2018-Dec-06, Gavin Flower wrote:

> Calculators normally work in floating point (in fact, as far as I am aware,
> they never work in integer mode by default),

The reason they don't work in "integer mode" is because it doesn't make
sense.

We only have this thing called "integer division" because it's a cheap
thing to implement in terms of machine instructions.

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


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

Предыдущее
От: Gavin Flower
Дата:
Сообщение: Re: simple division
Следующее
От: "Phil Endecott"
Дата:
Сообщение: Limitting full join to one match