Your statement is true of C/C++ double, which is also what Perl uses for numeric values. The example float x, y;Oops! You are absolutely right. My brain is so stuck on doubles that I often forget about single-precision floats.
Anyway, my main point, which was that the number 1 is exactly representable, is still correct.
Thanks for the correction.
--
Mark Dominus
Perl Paraphernalia
In reply to Re: (OT) Where is programming headed?
by Dominus
in thread (OT) Where is programming headed?
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |