|
|
|
|
|
by rswier
1570 days ago
|
|
> I suspect there is some clever base between 1 and 2 which is trivial to compute Something like this perhaps (although this might be too much granularity): (8 + (cap & 7)) << ((cap >> 3) + 1)
16 18 20 ... 30
32 36 40 ... 60
64 72 80 ... 120
128 ... etc.
|
|
The first three fractions approximating ϕ are: 3/2, 8/5 and 21/13. The first two are quick and easy to compute.