Searched refs:shortAnd0xffffToShortToDouble (Results 1 – 1 of 1) sorted by relevance
1634 public static double shortAnd0xffffToShortToDouble(short value) { in shortAnd0xffffToShortToDouble() method in Main1807 assertDoubleEquals(0.0, shortAnd0xffffToShortToDouble((short) 0)); in main()1808 assertDoubleEquals(1.0, shortAnd0xffffToShortToDouble((short) 1)); in main()1809 assertDoubleEquals(-2.0, shortAnd0xffffToShortToDouble((short) -2)); in main()1810 assertDoubleEquals(12345.0, shortAnd0xffffToShortToDouble((short) 12345)); in main()1811 assertDoubleEquals((double)Short.MAX_VALUE, shortAnd0xffffToShortToDouble(Short.MAX_VALUE)); in main()1812 assertDoubleEquals((double)Short.MIN_VALUE, shortAnd0xffffToShortToDouble(Short.MIN_VALUE)); in main()