Home
last modified time | relevance | path

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

/external/jsoncpp/src/test_lib_json/
Dmain.cpp51 static inline double uint64ToDouble(Json::UInt64 value) { in uint64ToDouble() function
55 static inline double uint64ToDouble(Json::UInt64 value) { in uint64ToDouble() function
1127 JSONTEST_ASSERT_EQUAL(uint64ToDouble(Json::UInt64(1) << 63), val.asDouble()); in JSONTEST_FIXTURE_LOCAL()
1203 JSONTEST_ASSERT_EQUAL(uint64ToDouble(ten_to_19), val.asDouble()); in JSONTEST_FIXTURE_LOCAL()
1204 JSONTEST_ASSERT_EQUAL(float(uint64ToDouble(ten_to_19)), val.asFloat()); in JSONTEST_FIXTURE_LOCAL()
1210 val = Json::Value(uint64ToDouble(ten_to_19)); in JSONTEST_FIXTURE_LOCAL()
1250 JSONTEST_ASSERT_EQUAL(uint64ToDouble(kuint64max), val.asDouble()); in JSONTEST_FIXTURE_LOCAL()
1251 JSONTEST_ASSERT_EQUAL(float(uint64ToDouble(kuint64max)), val.asFloat()); in JSONTEST_FIXTURE_LOCAL()
1257 val = Json::Value(uint64ToDouble(kuint64max)); in JSONTEST_FIXTURE_LOCAL()