3 ms·
How do you calculate that percentage, do you brute force it or do you have a formula that estimates or exactly gives the percentage? Also, do you allow the res
by Aardwolf 14y ago
How do you calculate that percentage, do you brute force it or do you have a formula that estimates or exactly gives the percentage?
Also, do you allow the result of the division to be near a gaussian integer, or do you do an exact floating point equals?
- no_gravity 14y agoI brute force it up to n sample points. For the first image n was 100. Yes, I allow the result to be near a gaussian integer. For the first image I counted everything as a gaussian integer where (real%1<0.1 && imaginary%1<0.1)