POV-Ray : Newsgroups : povray.off-topic : Really big numbers : Re: Really big numbers Server Time
7 Sep 2024 13:25:04 EDT (-0400)
  Re: Really big numbers  
From: Invisible
Date: 29 Jul 2008 03:58:58
Message: <488ecdc2$1@news.povray.org>
Warp wrote:
>   Another interesting (and nerdier) example:
> 
>   Assume we have a 3GHz processor, and that it can increment a 32-bit
> register at each clock cycle. How long does it take to go through all
> the values of that register?

Ooo... 2^32 = 4 billion. 3 GHz = 3,000,000,000 incriments per second. So 
we have... a little over 1 second.

>   Now assume that it's a 64-bit register instead. How long does it
> take now?

2^64 = (2^32)^2, so if 2^32 takes 1 second, 2^64 should take 4 billion 
seconds (which is about 136 years). So... a ****ing long time then.

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.