| From: | Markus Nullmeier <dq124(at)uni-heidelberg(dot)de> |
|---|---|
| To: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: "left shift of negative value" warnings |
| Date: | 2017-04-10 21:26:21 |
| Message-ID: | aae03cf9-36b7-57b3-6493-f4a9e31f4b97@ix.urz.uni-heidelberg.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 10/04/17 22:19, Andres Freund wrote:
> I guess the motivation is that it's not entirely clear what happens with
> the sign bit, when shifting.
Indeed, certain one's complement CPUs even "outlived" C99 by a small
margin, as it were:
http://mainframe.typepad.com/blog/2012/10/sad-day-unisys-abandons-its-mainframe-processors.html
And the respective ABI will be around for some time to come, apparently:
https://www.theregister.co.uk/2016/03/31/free_x86_mainframes_for_all_virtual_mainframes_that_is
:-)
--
Markus Nullmeier http://www.g-vo.org
German Astrophysical Virtual Observatory (GAVO)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2017-04-10 22:23:33 | Re: [sqlsmith] ERROR: badly formatted node string "RESTRICTINFO... |
| Previous Message | Robert Haas | 2017-04-10 21:09:03 | Re: Some thoughts about SCRAM implementation |