Re: signed int for interrupts??

H. Peter Anvin (hpa@freya.yggdrasil.com)
10 Sep 1996 08:05:55 GMT


Followup to: <9609091629.AA21503@gnu.mc.xerox.com>
By author: "Marty Leisner" <leisner@sdsp.mc.xerox.com>
In newsgroup: linux.dev.kernel
>
> Now I'm confused...2**31 is a huge number.
>
> If you have interrupts at 1 Megahertz, (10**6), you still have a big
> enough number for 10*25 seconds of interrupts.
>

Ahem... 2**31 ~ 2 * 10**9. You are confusing powers of 2 with powers
of 10! At 1 MHz you will reach 2**31 in less than an hour!

-hpa

-- 
PGP public key available - finger hpa@zytor.com
I don't work for Yggdrasil, but they sponsor the linux.* hierarchy.
"The earth is but one country, and mankind its citizens."  --  Bahá'u'lláh
Just Say No to Morden * Save Babylon 5: http://www.babylon5.com/cmp/support/