MCPcopy Create free account
hub / github.com/boostorg/json / TEST

Function TEST

test/ryu/d2s_table_test.cpp:47–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45namespace detail {
46
47TEST(D2sTableTest, double_computePow5) {
48 for (int i = 0; i < 326; i++) {
49 uint64_t m[2];
50 double_computePow5(i, m);
51 ASSERT_EQ(m[0], DOUBLE_POW5_SPLIT()[i][0]);
52 ASSERT_EQ(m[1], DOUBLE_POW5_SPLIT()[i][1]);
53 }
54}
55
56TEST(D2sTableTest, compute_offsets_for_double_computePow5) {
57 uint32_t totalErrors = 0;

Callers

nothing calls this directly

Calls 2

double_computePow5Function · 0.85
double_computeInvPow5Function · 0.85

Tested by

no test coverage detected