Re: Smallest Non-Zero Number from rnd()

new topic     » goto parent     » topic index » view thread      » older message » newer message

Just keep adding zeros to the test. It appears that the number below is a practical limit - if not an absolute limit. Reason being, it takes longer and longer to get 'hits' that fall into the < 0.00000001 limit - most results are larger than the limit, and so are discarded.

if x < 0.00000001 then printf(1,"%.12f\n",x) end if 

0.000000007340 
0.000000003116 
0.000000005185 
0.000000008549 
0.000000002161 
0.000000003722 
 

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu