Home
last modified time | relevance | path

Searched refs:GetZeroTest (Results 1 – 1 of 1) sorted by relevance

/external/llvm/unittests/ADT/
DAPFloatTest.cpp1403 } const GetZeroTest[] = { in TEST() local
1419 APFloat test = APFloat::getZero(*GetZeroTest[i].semantics, in TEST()
1420 GetZeroTest[i].sign); in TEST()
1421 const char *pattern = GetZeroTest[i].sign? "-0x0p+0" : "0x0p+0"; in TEST()
1422 APFloat expected = APFloat(*GetZeroTest[i].semantics, in TEST()
1425 EXPECT_TRUE(GetZeroTest[i].sign? test.isNegative() : !test.isNegative()); in TEST()
1427 for (unsigned j = 0, je = GetZeroTest[i].bitPatternLength; j < je; ++j) { in TEST()
1428 EXPECT_EQ(GetZeroTest[i].bitPattern[j], in TEST()