incorrect output for programs that depend on an exact implementation of IEEE or ISO rules/specifications for math functions.
put in -ffp-contract=off because, according to it's pertinent section in gcc optimization documentation, at optimization levels of -O2 and higher, the operations of multiply and summing are not handled correctly and give wrong values, breaking in our case the Cross product within the vector math causing visual errors when using dmap:
took out
-ffast-math
because, according to the indicated section in gcc optimization documentation it could bring:put in
-ffp-contract=off
because, according to it's pertinent section in gcc optimization documentation, at optimization levels of-O2
and higher, the operations of multiply and summing are not handled correctly and give wrong values, breaking in our case the Cross product within the vector math causing visual errors when using dmap: