POV-Ray : Newsgroups : povray.off-topic : An unusual prime number algorithm : Re: An unusual prime number algorithm Server Time
14 Nov 2024 16:11:18 EST (-0500)
  Re: An unusual prime number algorithm  
From: Invisible
Date: 3 Dec 2007 04:43:11
Message: <4753cfaf$1@news.povray.org>
Warp wrote:
> Orchid XP v7 <voi### [at] devnull> wrote:
>>>   In the end you end up with:
>>>
>>> -!!#!#!###!#!###!#!###!#####!#!#####!###!#!###!#####!#####!#!#####!###
> 
>> Well, then you'd need more bits per number.
> 
>   Not really, because the end result only has '#' and '!'. You simply
> have to keep an index to the next untested value in a variable.

...and *this* is why Warp is a high-end games programmer and I'm not. 
Heh. ._.


Post a reply to this message

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