Boost logo

Boost :

From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2008-04-19 15:12:00


Bo Persson skrev:
> Thorsten Ottosen wrote:
>> I tried expanding your list of primes so that it contains more
>> numbers
>> in the small range and in particulat such that it contains numbers
>> closely above powers of 2. It happens frequently that powers of 2
>> comes up.
>>
>> Here's my new list:
>>
>> static const std::size_t prime_list[] = {
>> 5ul, 11ul, 17ul, 29ul, 37ul, 53ul, 67ul, 79ul,
>> 97ul, 131ul, 193ul, 257ul, 389ul, 512ul, 769ul,
>
> 512ul means 521ul?
>

yes :-)

-Thorsten


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk