Searched refs:NumberUtils (Results 1 – 6 of 6) sorted by relevance
40 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(1.23f))); in isLikelyFloatTest()41 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(1.0f))); in isLikelyFloatTest()42 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(Float.NaN))); in isLikelyFloatTest()43 … Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(Float.NEGATIVE_INFINITY))); in isLikelyFloatTest()44 … Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(Float.POSITIVE_INFINITY))); in isLikelyFloatTest()45 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(1e-30f))); in isLikelyFloatTest()46 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(1000f))); in isLikelyFloatTest()47 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(1f))); in isLikelyFloatTest()48 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(-1f))); in isLikelyFloatTest()49 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(-5f))); in isLikelyFloatTest()[all …]
19 import com.android.tools.r8.utils.NumberUtils;99 assert NumberUtils.is32Bit(value); in buildDex()100 if ((register & 0xf) == register && NumberUtils.is4Bit(value)) { in buildDex()102 } else if (NumberUtils.is16Bit(value)) { in buildDex()111 if (NumberUtils.is16Bit(value)) { in buildDex()115 } else if (NumberUtils.is32Bit(value)) { in buildDex()160 return NumberUtils.is8Bit(value); in is8Bit()164 return NumberUtils.negativeIs8Bit(value); in negativeIs8Bit()168 return NumberUtils.is16Bit(value); in is16Bit()172 return NumberUtils.negativeIs16Bit(value); in negativeIs16Bit()
45 import org.jf.util.NumberUtils;323 if (NumberUtils.isLikelyFloat(value)) { in makeAnnotator()330 if (NumberUtils.isLikelyDouble(value)) { in makeAnnotator()363 if (NumberUtils.isLikelyDouble(value)) { in makeAnnotator()370 if (NumberUtils.isLikelyFloat(value)) { in makeAnnotator()
9 public class NumberUtils { class
48 import org.jf.util.NumberUtils;497 if (NumberUtils.isLikelyFloat(val)) { in writeCommentIfLikelyFloat()524 if (NumberUtils.isLikelyDouble(val)) { in writeCommentIfLikelyDouble()
36 public class NumberUtils { class