[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Arithmetic Shift
From: |
Philip Herron |
Subject: |
Re: Arithmetic Shift |
Date: |
Thu, 9 Dec 2010 16:26:23 +0000 |
On 8 December 2010 04:41, Mike Gibson <address@hidden> wrote:
> Does a test already exist that checks for if the >> operator in C does
> arithmetic shift? Section 5.5.1 "Portability of C Functions" of the
> manual mentions the problem, but lists nothing about a way of
> determining actual behavior. Seems that it would simple enough that I
> thought I would ask before I dive in and write something myself.
>
You can write your own tests within your configure.ac, but to be fair
operators like that for me i would _expect_ them to be there in any c
compiler since its such a basic and important operation.
--Phil
- Arithmetic Shift, Mike Gibson, 2010/12/09
- Re: Arithmetic Shift,
Philip Herron <=
- Re: Arithmetic Shift, Paul Eggert, 2010/12/09
- Re: Arithmetic Shift, Mike Gibson, 2010/12/09
- Re: Arithmetic Shift, Andrew W. Nosenko, 2010/12/10
- Re: Arithmetic Shift, Paul Eggert, 2010/12/10
- Re: Arithmetic Shift, Peter Breitenlohner, 2010/12/10
- Re: Arithmetic Shift, Andrew W. Nosenko, 2010/12/10
- Re: Arithmetic Shift, Bob Friesenhahn, 2010/12/10
- Re: Arithmetic Shift, Andrew W. Nosenko, 2010/12/11
Re: Arithmetic Shift, Ben Pfaff, 2010/12/10