Home | History | Annotate | Download | only in intltest

Lines Matching full:asint

453     LLAssert(llong((int32_t)0).asInt() == (int32_t)0);
454 LLAssert(llong((int32_t)1).asInt() == (int32_t)1);
455 LLAssert(llong((int32_t)-1).asInt() == (int32_t)-1);
456 LLAssert(llong((int32_t)0x7fffffff).asInt() == (int32_t)0x7fffffff);
457 LLAssert(llong((int32_t)0xffffffff).asInt() == (int32_t)-1);
458 LLAssert(llong((int32_t)0x80000000).asInt() == (int32_t)0x80000000);
461 LLAssert(llong((int16_t)0).asInt() == (int16_t)0);
462 LLAssert(llong((int16_t)1).asInt() == (int16_t)1);
463 LLAssert(llong((int16_t)-1).asInt() == (int16_t)-1);
464 asInt() == (int16_t)0x7fff);
465 LLAssert(llong((int16_t)0xffff).asInt() == (int16_t)0xffff);
466 LLAssert(llong((int16_t)0x8000).asInt() == (int16_t)0x8000);
469 LLAssert(llong((int8_t)0).asInt() == (int8_t)0);
470 LLAssert(llong((int8_t)1).asInt() == (int8_t)1);
471 LLAssert(llong((int8_t)-1).asInt() == (int8_t)-1);
472 LLAssert(llong((int8_t)0x7f).asInt() == (int8_t)0x7f);
473 LLAssert(llong((int8_t)0xff).asInt() == (int8_t)0xff);
474 LLAssert(llong((int8_t)0x80).asInt() == (int8_t)0x80);
509 // asInt - test unsigned to signed narrowing conversion
510 LLAssert(llong((uint32_t)-1).asInt() == (int32_t)0x7fffffff);
511 LLAssert(llong(-1, 0).asInt() == (int32_t)0x80000000);