Home | History | Annotate | Download | only in intltest

Lines Matching refs:asDouble

515     LLAssert(llong(llong::kD32).asDouble() == llong::kD32);
518 LLAssert(llong(0, 1).asDouble() == 1);
519 LLAssert(llong(1, 0).asDouble() == llong::kD32);
520 LLAssert(llong((uint32_t)-1, (uint32_t)-1).asDouble() == -1);
523 LLAssert(llong().asDouble() == 0);
566 LLAssert(llong((double)0).asDouble() == (double)0);
567 LLAssert(llong((double)1).asDouble() == (double)1);
568 LLAssert(llong((double)0x7fffffff).asDouble() == (double)0x7fffffff);
569 LLAssert(llong((double)0x80000000).asDouble() == (double)0x80000000);
570 LLAssert(llong((double)0x80000001).asDouble() == (double)0x80000001);
573 double maxmantissa = (llong((int32_t)1) << 40).asDouble();
574 LLAssert(llong(maxmantissa).asDouble() == maxmantissa);
575 LLAssert(llong(-maxmantissa).asDouble() == -maxmantissa);
578 LLAssert(llong(llong(0, 1)).asDouble() == 1);
579 LLAssert(llong(llong(1, 0)).asDouble() == llong::kD32);
580 LLAssert(llong(llong(-1, (uint32_t)-1)).asDouble() == -1);
590 // asDouble already tested
926 const llong TWO_TO_32d5 = llong(TWO_TO_32.asDouble()/5.0);