koachan wrote: Tagging this as WIP since I feel like the calculation could be done better. Also, I am not very confident yet with the codegen result in `fp128.ll`. https://github.com/llvm/llvm-project/pull/107223