https://bugs.llvm.org/show_bug.cgi?id=34579
Bug ID: 34579
Summary: APFloat asserts for x87 long doubles: "Can not have
more high bits to fill than integerPartWidth"
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Support Libraries
Assignee: unassignedb...@nondot.org
Reporter: a.sido...@samsung.com
CC: llvm-bugs@lists.llvm.org
A simple unit test:
TEST(APFloatTest, x87Largest) {
APFloat MaxX87Val = APFloat::getLargest(APFloat::x87DoubleExtended);
EXPECT_TRUE(MaxX87Val.isLargest()); // Don't crash.
}
Causes an assertion failure in APFloat::isSignificandAllOnes():
assert(NumHighBits <= integerPartWidth &&
"Can not have more high bits to fill than integerPartWidth");
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs