use of com.oracle.truffle.llvm.runtime.floating.LLVM80BitFloat in project sulong by graalvm.
the class LLVM80BitFromUnsignedIntTest method testMinValue.
@Test
public void testMinValue() {
LLVM80BitFloat val = LLVM80BitFloat.fromUnsignedInt(Integer.MIN_VALUE);
LLVM80BitFloat expected = LLVM80BitFloat.fromRawValues(false, 0x401e, 0x8000000000000000L);
assertEquals(expected, val);
}
use of com.oracle.truffle.llvm.runtime.floating.LLVM80BitFloat in project sulong by graalvm.
the class LLVM80BitFromUnsignedLongTest method testMinValue.
@Test
public void testMinValue() {
LLVM80BitFloat val = LLVM80BitFloat.fromUnsignedLong(Long.MIN_VALUE);
LLVM80BitFloat expected = LLVM80BitFloat.fromRawValues(false, 0x403e, 0x8000000000000000L);
assertEquals(expected, val);
}
Aggregations