Y
Yahav
Hi,
I've noticed a behavior that i hope someone could explain:
I'm currently using perl v5.8.2 under Solaris. when trying to compare
between two numbers who should be the same using the numeric equality
operator i get that they aren't equal using v5.8.2, and equal under
5.005_03:
sample code:
perl -e 'print "\nYES\n" if (2.2e-7 == 0.22e-6);'
gives YES only when using perl 5.005_03
Is there an explanation ?
Thanks !
Yahav Bar yosef
I've noticed a behavior that i hope someone could explain:
I'm currently using perl v5.8.2 under Solaris. when trying to compare
between two numbers who should be the same using the numeric equality
operator i get that they aren't equal using v5.8.2, and equal under
5.005_03:
sample code:
perl -e 'print "\nYES\n" if (2.2e-7 == 0.22e-6);'
gives YES only when using perl 5.005_03
Is there an explanation ?
Thanks !
Yahav Bar yosef