Lines Matching refs:abs
464 Math.abs(-1);
465 Assert.assertEquals(Math.abs(0), 0);
466 Assert.assertEquals(Math.abs(123), 123);
467 Assert.assertEquals(Math.abs(-123), 123);
468 Assert.assertEquals(Math.abs(Integer.MAX_VALUE), Integer.MAX_VALUE);
469 Assert.assertEquals(Math.abs(Integer.MIN_VALUE), Integer.MIN_VALUE);
470 Assert.assertEquals(Math.abs(Integer.MIN_VALUE - 1), Integer.MAX_VALUE);
471 Assert.assertEquals(Math.abs(Integer.MIN_VALUE + 1), Integer.MAX_VALUE);
475 Math.abs(-1L);
476 Assert.assertEquals(Math.abs(0L), 0L);
477 Assert.assertEquals(Math.abs(123L), 123L);
478 Assert.assertEquals(Math.abs(-123L), 123L);
479 Assert.assertEquals(Math.abs(Long.MAX_VALUE), Long.MAX_VALUE);
480 Assert.assertEquals(Math.abs(Long.MIN_VALUE), Long.MIN_VALUE);
481 Assert.assertEquals(Math.abs(Long.MIN_VALUE - 1), Long.MAX_VALUE);
482 Assert.assertEquals(Math.abs(2147483648L), 2147483648L);
944 StrictMath.abs(-1);
945 Assert.assertEquals(StrictMath.abs(0), 0);
946 Assert.assertEquals(StrictMath.abs(123), 123);
947 Assert.assertEquals(StrictMath.abs(-123), 123);
948 Assert.assertEquals(StrictMath.abs(Integer.MAX_VALUE), Integer.MAX_VALUE);
949 Assert.assertEquals(StrictMath.abs(Integer.MIN_VALUE), Integer.MIN_VALUE);
950 Assert.assertEquals(StrictMath.abs(Integer.MIN_VALUE - 1), Integer.MAX_VALUE);
951 Assert.assertEquals(StrictMath.abs(Integer.MIN_VALUE + 1), Integer.MAX_VALUE);
955 StrictMath.abs(-1L);
956 Assert.assertEquals(StrictMath.abs(0L), 0L);
957 Assert.assertEquals(StrictMath.abs(123L), 123L);
958 Assert.assertEquals(StrictMath.abs(-123L), 123L);
959 Assert.assertEquals(StrictMath.abs(Long.MAX_VALUE), Long.MAX_VALUE);
960 Assert.assertEquals(StrictMath.abs(Long.MIN_VALUE), Long.MIN_VALUE);
961 Assert.assertEquals(StrictMath.abs(Long.MIN_VALUE - 1), Long.MAX_VALUE);