Home | History | Annotate | Download | only in intltest

Lines Matching refs:asDouble

443     LLAssert(llong(llong::kD32).asDouble() == llong::kD32);
446 LLAssert(llong(0, 1).asDouble() == 1);
447 LLAssert(llong(1, 0).asDouble() == llong::kD32);
448 LLAssert(llong((uint32_t)-1, (uint32_t)-1).asDouble() == -1);
451 LLAssert(llong().asDouble() == 0);
494 LLAssert(llong((double)0).asDouble() == (double)0);
495 LLAssert(llong((double)1).asDouble() == (double)1);
496 LLAssert(llong((double)0x7fffffff).asDouble() == (double)0x7fffffff);
497 LLAssert(llong((double)0x80000000).asDouble() == (double)0x80000000);
498 LLAssert(llong((double)0x80000001).asDouble() == (double)0x80000001);
501 double maxmantissa = (llong((int32_t)1) << 40).asDouble();
502 LLAssert(llong(maxmantissa).asDouble() == maxmantissa);
503 LLAssert(llong(-maxmantissa).asDouble() == -maxmantissa);
506 LLAssert(llong(llong(0, 1)).asDouble() == 1);
507 LLAssert(llong(llong(1, 0)).asDouble() == llong::kD32);
508 LLAssert(llong(llong(-1, (uint32_t)-1)).asDouble() == -1);
518 // asDouble already tested
854 const llong TWO_TO_32d5 = llong(TWO_TO_32.asDouble()/5.0);