Re: Is PG built on any C compilers where int division floors?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Chapman Flack <chap(at)anastigmatix(dot)net>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Is PG built on any C compilers where int division floors?
Date: 2018-06-27 03:33:22
Message-ID: 23660.1530070402@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Chapman Flack <chap(at)anastigmatix(dot)net> writes:
> Do PG's operators just do what the underlying C compiler generates?

Yes. This is generally true for both the int and float operators.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2018-06-27 03:56:58 Re: Speedup of relation deletes during recovery
Previous Message Chapman Flack 2018-06-27 03:28:47 Re: Is PG built on any C compilers where int division floors?