https://bugs.llvm.org/show_bug.cgi?id=44051
Bug ID: 44051
Summary: APFloat::fusedMultiplyAdd incorrect when using a
single instance for all arguments
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Support Libraries
Assignee: unassignedb...@nondot.org
Reporter: ehudk...@gmail.com
CC: llvm-bugs@lists.llvm.org
The following simple test should result with `x` equals to 3.75, while the
result we actually get is 4.5.
APFloat x(1.5);
x.fusedMultiplyAdd(x, x, APFloat::rmNearestTiesToEven);
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs