in reply to Inline::C producing an absurd result
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 .
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Inline::C producing an absurd result
by syphilis (Archbishop) on May 09, 2017 at 01:09 UTC |