autoconf
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]