Keep It Simple, Stupid | |
PerlMonks |
Re^3: inclusive randby LanX (Saint) |
on Mar 13, 2017 at 12:52 UTC ( [id://1184409]=note: print w/replies, xml ) | Need Help?? |
You were clear and you are wrong to believe computer can produce any real numbers. (see also my update) We can only approximate them with floats, e.g. you will never get a the real pi, just because for instance nobody can ever finish printing a number with an infinite amount of digits. This means you can only operate on rational numbers with a chosen resolution.
updateOP changed text of Re^2: inclusive rand . I'm giving up.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|