[llvm-commits] Patch: Math Lib call optimization
Duncan Sands
baldrick at free.fr
Wed Nov 2 11:24:35 PDT 2011
Dear Weiming Zhao,
> Hence, this transformation will not result in precision loss.
is this a correct statement? For example, if sin returns a result which is
correct to within two double precision ulps, and sinf to within two single
precision ulps, then float->double->sin->float will probably be correct to
one single precision ulp, so converting to use sinf loses precision.
Ciao, Duncan.
More information about the llvm-commits
mailing list