Lines Matching refs:Float
526 Math.min(1.0f, Float.NaN);
527 Assert.assertTrue(Float.isNaN(Math.min(1.0f, Float.NaN)));
528 Assert.assertTrue(Float.isNaN(Math.min(Float.NaN, 1.0f)));
535 Assert.assertEquals(Math.min(0.0f, Float.MAX_VALUE), 0.0f);
536 Assert.assertEquals(Math.min(Float.MIN_VALUE, 0.0f), 0.0f);
537 Assert.assertEquals(Math.min(Float.MIN_VALUE, Float.MAX_VALUE), Float.MIN_VALUE);
539 Assert.assertEquals(Math.min(Float.MIN_VALUE, Float.MIN_VALUE), Float.MIN_VALUE);
543 Math.max(1.0f, Float.NaN);
544 Assert.assertTrue(Float.isNaN(Math.max(1.0f, Float.NaN)));
545 Assert.assertTrue(Float.isNaN(Math.max(Float.NaN, 1.0f)));
552 Assert.assertEquals(Math.max(0.0f, Float.MAX_VALUE), Float.MAX_VALUE);
553 Assert.assertEquals(Math.max(Float.MIN_VALUE, Float.MAX_VALUE), Float.MAX_VALUE);
555 Assert.assertEquals(Math.max(Float.MIN_VALUE, 0.0f), Float.MIN_VALUE);
556 Assert.assertEquals(Math.max(Float.MIN_VALUE, Float.MIN_VALUE), Float.MIN_VALUE);
857 Assert.assertEquals(Math.round(Float.intBitsToFloat(0x3EFFFFFF)), (int)+0.0f);
868 Assert.assertEquals(Math.round(Float.NaN), (int)+0.0f);
871 Assert.assertEquals(Math.round(Float.intBitsToFloat(0x4F800000)),
873 Assert.assertEquals(Math.round(Float.intBitsToFloat(0xCF800000)),
875 Assert.assertEquals(Math.round(Float.POSITIVE_INFINITY), Integer.MAX_VALUE);
876 Assert.assertEquals(Math.round(Float.NEGATIVE_INFINITY), Integer.MIN_VALUE);
906 Assert.assertTrue(Float.isNaN(Float.intBitsToFloat(0x7FA00000)));
907 Assert.assertTrue(Float.isNaN(Float.intBitsToFloat(0xFFA00000)));
909 Assert.assertTrue(Float.isNaN(Float.intBitsToFloat(0x7FC00000)));
910 Assert.assertTrue(Float.isNaN(Float.intBitsToFloat(0xFFC00000)));
912 Assert.assertFalse(Float.isNaN(Float.intBitsToFloat(0x7F800000)));
913 Assert.assertFalse(Float.isNaN(Float.intBitsToFloat(0xFF800000)));
915 Assert.assertFalse(Float.isNaN(Float.intBitsToFloat(0x7F000000)));
916 Assert.assertFalse(Float.isNaN(Float.intBitsToFloat(0xFF000000)));
917 Assert.assertFalse(Float.isNaN(Float.intBitsToFloat(0x00800000)));
918 Assert.assertFalse(Float.isNaN(Float.intBitsToFloat(0x80800000)));
920 Assert.assertFalse(Float.isNaN(Float.intBitsToFloat(0x00000000)));
921 Assert.assertFalse(Float.isNaN(Float.intBitsToFloat(0x80000000)));
923 Assert.assertFalse(Float.isNaN(Float.intBitsToFloat(0x00400000)));
924 Assert.assertFalse(Float.isNaN(Float.intBitsToFloat(0x80400000)));
925 Assert.assertFalse(Float.isNaN(Float.intBitsToFloat(0x00000001)));
926 Assert.assertFalse(Float.isNaN(Float.intBitsToFloat(0x80000001)));
956 Assert.assertFalse(Float.isInfinite(Float.intBitsToFloat(0x7FA00000)));
957 Assert.assertFalse(Float.isInfinite(Float.intBitsToFloat(0xFFA00000)));
959 Assert.assertFalse(Float.isInfinite(Float.intBitsToFloat(0x7FC00000)));
960 Assert.assertFalse(Float.isInfinite(Float.intBitsToFloat(0xFFC00000)));
962 Assert.assertTrue(Float.isInfinite(Float.intBitsToFloat(0x7F800000)));
963 Assert.assertTrue(Float.isInfinite(Float.intBitsToFloat(0xFF800000)));
965 Assert.assertFalse(Float.isInfinite(Float.intBitsToFloat(0x7F000000)));
966 Assert.assertFalse(Float.isInfinite(Float.intBitsToFloat(0xFF000000)));
967 Assert.assertFalse(Float.isInfinite(Float.intBitsToFloat(0x00800000)));
968 Assert.assertFalse(Float.isInfinite(Float.intBitsToFloat(0x80800000)));
970 Assert.assertFalse(Float.isInfinite(Float.intBitsToFloat(0x00000000)));
971 Assert.assertFalse(Float.isInfinite(Float.intBitsToFloat(0x80000000)));
973 Assert.assertFalse(Float.isInfinite(Float.intBitsToFloat(0x00400000)));
974 Assert.assertFalse(Float.isInfinite(Float.intBitsToFloat(0x80400000)));
975 Assert.assertFalse(Float.isInfinite(Float.intBitsToFloat(0x00000001)));
976 Assert.assertFalse(Float.isInfinite(Float.intBitsToFloat(0x80000001)));
1041 StrictMath.min(1.0f, Float.NaN);
1042 Assert.assertTrue(Float.isNaN(StrictMath.min(1.0f, Float.NaN)));
1043 Assert.assertTrue(Float.isNaN(StrictMath.min(Float.NaN, 1.0f)));
1050 Assert.assertEquals(StrictMath.min(0.0f, Float.MAX_VALUE), 0.0f);
1051 Assert.assertEquals(StrictMath.min(Float.MIN_VALUE, 0.0f), 0.0f);
1052 Assert.assertEquals(StrictMath.min(Float.MIN_VALUE, Float.MAX_VALUE), Float.MIN_VALUE);
1056 StrictMath.max(1.0f, Float.NaN);
1057 Assert.assertTrue(Float.isNaN(StrictMath.max(1.0f, Float.NaN)));
1058 Assert.assertTrue(Float.isNaN(StrictMath.max(Float.NaN, 1.0f)));
1065 Assert.assertEquals(StrictMath.max(0.0f, Float.MAX_VALUE), Float.MAX_VALUE);
1066 Assert.assertEquals(StrictMath.max(Float.MIN_VALUE, 0.0f), Float.MIN_VALUE);
1067 Assert.assertEquals(StrictMath.max(Float.MIN_VALUE, Float.MAX_VALUE), Float.MAX_VALUE);
1216 Assert.assertEquals(StrictMath.round(Float.intBitsToFloat(0x3EFFFFFF)), (int)+0.0f);
1227 Assert.assertEquals(StrictMath.round(Float.NaN), (int)+0.0f);
1230 Assert.assertEquals(StrictMath.round(Float.intBitsToFloat(0x4F800000)),
1232 Assert.assertEquals(StrictMath.round(Float.intBitsToFloat(0xCF800000)),
1234 Assert.assertEquals(StrictMath.round(Float.POSITIVE_INFINITY), Integer.MAX_VALUE);
1235 Assert.assertEquals(StrictMath.round(Float.NEGATIVE_INFINITY), Integer.MIN_VALUE);
1239 Float.floatToRawIntBits(-1.0f);
1240 Assert.assertEquals(Float.floatToRawIntBits(-1.0f), 0xbf800000);
1241 Assert.assertEquals(Float.floatToRawIntBits(0.0f), 0);
1242 Assert.assertEquals(Float.floatToRawIntBits(1.0f), 0x3f800000);
1243 Assert.assertEquals(Float.floatToRawIntBits(Float.NaN), 0x7fc00000);
1244 Assert.assertEquals(Float.floatToRawIntBits(Float.POSITIVE_INFINITY), 0x7f800000);
1245 Assert.assertEquals(Float.floatToRawIntBits(Float.NEGATIVE_INFINITY), 0xff800000);
1249 Float.intBitsToFloat(0xbf800000);
1250 Assert.assertEquals(Float.intBitsToFloat(0xbf800000), -1.0f);
1251 Assert.assertEquals(Float.intBitsToFloat(0x00000000), 0.0f);
1252 Assert.assertEquals(Float.intBitsToFloat(0x3f800000), 1.0f);
1253 Assert.assertEquals(Float.intBitsToFloat(0x7fc00000), Float.NaN);
1254 Assert.assertEquals(Float.intBitsToFloat(0x7f800000), Float.POSITIVE_INFINITY);
1255 Assert.assertEquals(Float.intBitsToFloat(0xff800000), Float.NEGATIVE_INFINITY);