Don't ask to ask, just ask | |
PerlMonks |
Re: Inline::C producing an absurd resultby Anonymous Monk |
on May 08, 2017 at 20:02 UTC ( [id://1189821]=note: print w/replies, xml ) | Need Help?? |
I tried the C program with gcc-4.8.2 and gcc-6.3.0 — both gave the buggy output if -O optimization is enabled. Tried icc as well (correct result) and clang-4.0 (GNU decimal type extension not supported). GCC docs say "support of decimal float as specified by the draft technical report is incomplete". But see if you can find something on gcc.gnu.org/bugzilla .
In Section
Seekers of Perl Wisdom
|
|