Syntactic Confectionery Delight | |
PerlMonks |
Re^5: Windows / Linux puzzlerby syphilis (Archbishop) |
on Mar 26, 2020 at 02:25 UTC ( [id://11114655]=note: print w/replies, xml ) | Need Help?? |
MS's library is known to not be as good as a gcc's All that the linked example demonstrates is that there's a discrepancy in the %.20g formatting - it says nothing about the ability to assign values correctly. If you compare the actual values by doing "%a" formatting on both the Linux and windows perls, you'll see that 0.1 is exactly the same double. Also, I believe the OP's activestate perl was built with (mingw port of) gcc. They stopped using Microsoft compilers a few years ago. ikegami's point is likely even more irrelevant than Veltro's. Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|