[LLVMdev] uitofp and sitofp rounding mode

Eli Friedman eli.friedman at gmail.com
Wed Jul 24 12:00:25 PDT 2013


On Wed, Jul 24, 2013 at 4:03 AM, Jay Foad <jay.foad at gmail.com> wrote:
> When the uitofp and sitofp instructions convert e.g. from i64 to
> float, what rounding mode do they use? Answers in the form a patch to
> LangRef.html would be great!

The default rounding mode, just like every other floating-point operation.

-Eli



More information about the llvm-dev mailing list