Lines Matching refs:asDouble
488 LLAssert(llong(llong::kD32).asDouble() == llong::kD32);
491 LLAssert(llong(0, 1).asDouble() == 1);
492 LLAssert(llong(1, 0).asDouble() == llong::kD32);
493 LLAssert(llong((uint32_t)-1, (uint32_t)-1).asDouble() == -1);
496 LLAssert(llong().asDouble() == 0);
539 LLAssert(llong((double)0).asDouble() == (double)0);
540 LLAssert(llong((double)1).asDouble() == (double)1);
541 LLAssert(llong((double)0x7fffffff).asDouble() == (double)0x7fffffff);
542 LLAssert(llong((double)0x80000000).asDouble() == (double)0x80000000);
543 LLAssert(llong((double)0x80000001).asDouble() == (double)0x80000001);
546 double maxmantissa = (llong((int32_t)1) << 40).asDouble();
547 LLAssert(llong(maxmantissa).asDouble() == maxmantissa);
548 LLAssert(llong(-maxmantissa).asDouble() == -maxmantissa);
551 LLAssert(llong(llong(0, 1)).asDouble() == 1);
552 LLAssert(llong(llong(1, 0)).asDouble() == llong::kD32);
553 LLAssert(llong(llong(-1, (uint32_t)-1)).asDouble() == -1);
563 // asDouble already tested
899 const llong TWO_TO_32d5 = llong(TWO_TO_32.asDouble()/5.0);