good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^7: IF condition with a range (updated)by syphilis (Archbishop) |
on Jul 17, 2018 at 13:25 UTC ( [id://1218664]=note: print w/replies, xml ) | Need Help?? |
Well, the difference between 1e-5000 and 1e-5100 is pretty small. For most intents and purposes, there is no difference Heh ... I thought this was about "mathematical equality", but suddenly it's now also about "intents and purposes". For double precision NVs I could have chosen much larger values of (say) 1e-324 and 1e-325 ... but you're probably not going to be swayed by that, anyway ;-) By my calculations, the latter is 659669 orders of magnitude bigger than the former Yep, I get the same:
Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|