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


Groups > comp.sys.acorn.programmer > #1882

Re: 64 bit unsigned ints for 'Acorn' compiler?

From Jim Lesurf <jcgl@audiomisc.co.uk>
Subject Re: 64 bit unsigned ints for 'Acorn' compiler?
Newsgroups comp.sys.acorn.programmer
Date 2012-07-05 16:11 +0100
Message-ID <52aa919f20jcgl@audiomisc.co.uk> (permalink)
References <52aa84d885jcgl@audiomisc.co.uk> <jt43gf$ni2$1@dont-email.me>
Organization None

Show all headers | View raw


In article <jt43gf$ni2$1@dont-email.me>, John Tytgat <this@is.invalid>
wrote:

> uint64_t is standard in C99 (stdint.h).  As far as I'm away it is both
> supported by Acorn Norcroft compiler and RISC OS gcc port.

On 05 Jul in comp.sys.acorn.programmer, Chris Johnson
<chrisjohnson+news@spamcop.net> wrote:
> In article <52aa84d885jcgl@audiomisc.co.uk>,
>    Jim Lesurf <jcgl@audiomisc.co.uk> wrote:

> > Is there an easy fix for this?

> From Norcroft h.stdint

> #ifdef __stdint_ll
> typedef signed   long long int64_t;
> typedef unsigned long long uint64_t;
> typedef signed   long long int_least64_t;
> typedef unsigned long long uint_least64_t;
> typedef signed   long long int_fast64_t;
> typedef unsigned long long uint_fast64_t;

Thanks John/Chris,

That is good news. :-)

I'd assumed that no 64 bit ints were available as I'd looked this up in my
old copy of 'Acorn C/C++' that came when I bought the compiler mumble years
ago!  Page 70 lists types - char, short, int, etc, etc. I lists doubles as
having 64 bits, but none of the integert types have more than 32 bits.

Has this changed since the book, or have I simply not looked in the right
place in it? The book is 'issue 1' dated 1994... Yikes, doesn't time
fly when you are making your forehead bleed trying to work out how to
make sense of a program!  8-]

Thanks again,

Jim

-- 
Electronics  http://www.st-and.ac.uk/~www_pa/Scots_Guide/intro/electron.htm
Armstrong Audio  http://www.audiomisc.co.uk/Armstrong/armstrong.html
Audio Misc  http://www.audiomisc.co.uk/index.html

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

64 bit unsigned ints for 'Acorn' compiler? Jim Lesurf <jcgl@audiomisc.co.uk> - 2012-07-05 13:51 +0100
  Re: 64 bit unsigned ints for 'Acorn' compiler? John Tytgat <this@is.invalid> - 2012-07-05 15:06 +0200
    Re: 64 bit unsigned ints for 'Acorn' compiler? Jim Lesurf <jcgl@audiomisc.co.uk> - 2012-07-05 16:11 +0100
      Re: 64 bit unsigned ints for 'Acorn' compiler? Chris Johnson <chrisjohnson+news@spamcop.net> - 2012-07-05 18:31 +0100
        Re: 64 bit unsigned ints for 'Acorn' compiler? Jim Lesurf <jcgl@audiomisc.co.uk> - 2012-07-06 09:36 +0100
          Re: 64 bit unsigned ints for 'Acorn' compiler? Chris Johnson <chrisjohnson+news@spamcop.net> - 2012-07-06 11:26 +0100
          Re: 64 bit unsigned ints for 'Acorn' compiler? druck <news@druck.org.uk> - 2012-07-07 23:44 +0100
            Re: 64 bit unsigned ints for 'Acorn' compiler? Jim Lesurf <jcgl@audiomisc.co.uk> - 2012-07-08 09:30 +0100
              Re: 64 bit unsigned ints for 'Acorn' compiler? "Ste (news)" <steve@revi11.plus.com> - 2012-07-09 23:53 +0100
                Re: 64 bit unsigned ints for 'Acorn' compiler? Jim Lesurf <jcgl@audiomisc.co.uk> - 2012-07-10 09:32 +0100
                Re: 64 bit unsigned ints for 'Acorn' compiler? Chris Johnson <chrisjohnson+news@spamcop.net> - 2012-07-10 12:37 +0100
                Re: 64 bit unsigned ints for 'Acorn' compiler? Jim Lesurf <jcgl@audiomisc.co.uk> - 2012-07-10 14:10 +0100
                Re: 64 bit unsigned ints for 'Acorn' compiler? Chris Johnson <chrisjohnson+news@spamcop.net> - 2012-07-10 16:58 +0100
                Re: 64 bit unsigned ints for 'Acorn' compiler? Frank de Bruijn <zuiderduin@hotmail.com> - 2012-07-11 08:26 +0200
                Re: 64 bit unsigned ints for 'Acorn' compiler? Chris Johnson <chrisjohnson+news@spamcop.net> - 2012-07-11 09:48 +0100
                Re: 64 bit unsigned ints for 'Acorn' compiler? "Ste (news)" <steve@revi11.plus.com> - 2012-07-12 23:15 +0100
                Re: 64 bit unsigned ints for 'Acorn' compiler? Jim Lesurf <jcgl@audiomisc.co.uk> - 2012-07-19 12:35 +0100
  Re: 64 bit unsigned ints for 'Acorn' compiler? Chris Johnson <chrisjohnson+news@spamcop.net> - 2012-07-05 15:15 +0100
  Re: 64 bit unsigned ints for 'Acorn' compiler? Jim Lesurf <jcgl@audiomisc.co.uk> - 2012-07-06 16:49 +0100

csiph-web