SetRoundingLLVM
Documentation for SetRoundingLLVM.
SetRoundingLLVM.llvm_rounding
โ Methodllvm_rounding()
Return the current rounding mode for Float64
SetRoundingLLVM.llvm_setrounding
โ Methodllvm_setrounding(round::RoundingMode)
Set the rounding mode of Float64, controlling the rounding of basic arithmetic functions (+, -, *, / and sqrt) and type conversion. Other numerical functions may give incorrect or invalid values when using rounding modes other than the default RoundNearest
Available modes are:
- RoundToZero
- RoundNearest
- RoundUp
- RoundDown