This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: 64 bit arithmetic
- To: sams at myself dot com
- Subject: Re: [ECOS] 64 bit arithmetic
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 23 Oct 2001 19:09:58 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <01102310500204.20563@highlight>
Sam Sortais wrote:
>
> An other thing that bother me is let say I would like to do arithmetic
> operations with 64 bits integers.
>
> Is there any type to represent 64 bits variable with eCos ?
> I did see in one of the examples something called (long long)...?
Yes, but that's a compiler issue, not an OS issue. eCos will use long
longs, and if they are real 64 bits or not doesn't normally make a
difference - if the port supports 64-bit usage all it has to do is always
save/restore the full 64 bits.
But the Itanium is not an embedded processor, so don't expect a port for
many years.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine