Searched refs:BIGINTEGER_LITERAL (Results 1 – 2 of 2) sorted by relevance
21 #define BIGINTEGER_LITERAL(s) BigInteger(s, sizeof(s) - 1) macro25 static const BigInteger kUint64Max = BIGINTEGER_LITERAL("18446744073709551615");26 static const BigInteger kTwo64 = BIGINTEGER_LITERAL("18446744073709551616");31 EXPECT_TRUE(kZero == BIGINTEGER_LITERAL("0")); in TEST()32 EXPECT_TRUE(kZero == BIGINTEGER_LITERAL("00")); in TEST()36 EXPECT_TRUE(a == BIGINTEGER_LITERAL("123")); in TEST()37 EXPECT_TRUE(a == BIGINTEGER_LITERAL("0123")); in TEST()60 EXPECT_TRUE(BIGINTEGER_LITERAL("36893488147419103231") == b); in TEST()80 EXPECT_TRUE(BIGINTEGER_LITERAL("1034640981606221330982120") == c); in TEST()82 EXPECT_TRUE(BIGINTEGER_LITERAL("19085757395861596536664473018420572782123800") == c); in TEST()[all …]
19 #define BIGINTEGER_LITERAL(s) BigInteger(s, sizeof(s) - 1) macro101 BigInteger dS = BIGINTEGER_LITERAL(dInt); in TEST()110 EXPECT_TRUE(BIGINTEGER_LITERAL("203970822259994138521801764465966248930731085529088") == dS); in TEST()111 EXPECT_TRUE(BIGINTEGER_LITERAL("203970822259994122305215569213032722473144531250000") == bS); in TEST()112 EXPECT_TRUE(BIGINTEGER_LITERAL("17763568394002504646778106689453125") == hS); in TEST()118 EXPECT_TRUE(BIGINTEGER_LITERAL("16216586195252933526457586554279088") == delta); in TEST()120 EXPECT_TRUE(BIGINTEGER_LITERAL("16216586195252933526457586554279088") == delta); in TEST()