go ahead... be a heretic | |
PerlMonks |
bug in floating point math?by qbxk (Friar) |
on Sep 23, 2010 at 03:19 UTC ( [id://861436]=perlquestion: print w/replies, xml ) | Need Help?? |
qbxk has asked for the wisdom of the Perl Monks concerning the following question:
It's late here, I'm tired, and I was questioning my sanity until I distilled my bug to it's essence. Now I'm questioning perl's sanity. What's going on here?
I won't tell you what gets printed, because I don't believe it. Try it on your command line. What do you get? Why?????? Then, should this be different? It is. fwiw, using my $x = 1.2 - 1.1 is even more interesting..... i look forward to your wise clarifications in the morning, and easing my mind greatly, this monk must now get some rest.... It's not what you look like, when you're doin' what you’re doin'. It's what you’re doin' when you’re doin' what you look like you’re doin'! - Charles Wright & the Watts 103rd Street Rhythm Band, Express yourself
Back to
Seekers of Perl Wisdom
|
|