Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #4399

Re: word size and gcc builtins usage

From Keith Thompson <kst-u@mib.org>
Newsgroups comp.lang.c
Subject Re: word size and gcc builtins usage
Date 2011-05-19 15:52 -0700
Organization None to speak of
Message-ID <lnei3u1exa.fsf@nuthaus.mib.org> (permalink)
References <9eaee802-67e8-44a8-a88d-da20f0381bcc@j13g2000pro.googlegroups.com> <slrnitb4ec.uvp.usenet-nospam@guild.seebs.net>

Show all headers | View raw


Seebs <usenet-nospam@seebs.net> writes:
> On 2011-05-19, dr.oktopus <blindwilly@freeonline.zzn.com> wrote:
[...]
>> I would like to know if there is any chance to get info on 64 bit type
>> availability.
>
> In C99, the answer is always yes, however, the existence of a 64-bit type
> doesn't mean it's an *efficient* type.  64-bit types were widely available
> on 32-bit hardware long ago.
[...]

In C99, there is always a type that's *at least* 64 bits.

I seriously doubt that any C99 implementation exists that doesn't have
an integer type that's exactly 64 bits, but it's theoretically possible.
Some future system might provide hardware operations only for 128-bit
quantities, and make all predefined integer types (perhaps except for
the char tyeps) 128 bits.

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
Nokia
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

word size and gcc builtins usage "dr.oktopus" <blindwilly@freeonline.zzn.com> - 2011-05-19 13:12 -0700
  Re: word size and gcc builtins usage Ian Collins <ian-news@hotmail.com> - 2011-05-20 08:24 +1200
    Re: word size and gcc builtins usage Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-05-22 13:06 +0000
  Re: word size and gcc builtins usage "Joel C. Salomon" <joelcsalomon@gmail.com> - 2011-05-19 14:21 -0700
    Re: word size and gcc builtins usage "robertwessel2@yahoo.com" <robertwessel2@yahoo.com> - 2011-05-19 18:13 -0700
  Re: word size and gcc builtins usage Seebs <usenet-nospam@seebs.net> - 2011-05-19 22:06 +0000
    Re: word size and gcc builtins usage Keith Thompson <kst-u@mib.org> - 2011-05-19 15:52 -0700
      Re: word size and gcc builtins usage Seebs <usenet-nospam@seebs.net> - 2011-05-19 23:38 +0000
  Re: word size and gcc builtins usage Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-05-19 22:30 -0400
    Re: word size and gcc builtins usage "dr.oktopus" <blindwilly@freeonline.zzn.com> - 2011-05-19 22:31 -0700

csiph-web