- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for Floor (0.01 sec)
-
src/main/webapp/js/admin/plugins/form-validator/date.js
b(a,b,d){var e=new Date(a,b,d),f=new Date,g=f.getFullYear()-e.getFullYear();e.setFullYear(e.getFullYear()+g),e>f&&(g--,e.setFullYear(e.getFullYear()-1));var h=Math.floor((f.getTime()-e.getTime())/864e5),i=g+h/(c(f.getFullYear())?366:365),j=((i+"").split(".")[1]||"").substr(0,3);return i>=0?Math.floor(i)+(j>=915?1:0):(j*=10,Math.floor(i)+(j<=840?1:0))}function c(a){var b=new Date(a,1,28);return b.setDate(b.getDate()+1),1===b.getMonth()}a.formUtils.registerLoadedModule("date"),a.formUtils.addValid...
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/IntMathTest.java
} /* Relies on the correctness of sqrt(int, FLOOR). */ @GwtIncompatible // sqrt public void testSqrtExactMatchesFloorOrThrows() { for (int x : POSITIVE_INTEGER_CANDIDATES) { int floor = IntMath.sqrt(x, FLOOR); // We only expect an exception if x was not a perfect square. boolean isPerfectSquare = floor * floor == x; try { assertEquals(floor, IntMath.sqrt(x, UNNECESSARY));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 24.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
} } } // Relies on the correctness of log10(long, FLOOR) and of pow(long, int). @GwtIncompatible // TODO public void testLog10Exact() { for (long x : POSITIVE_LONG_CANDIDATES) { int floor = LongMath.log10(x, FLOOR); boolean expectedSuccess = LongMath.pow(10, floor) == x; try { assertEquals(floor, LongMath.log10(x, UNNECESSARY)); assertTrue(expectedSuccess);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 31.4K bytes - Viewed (0) -
guava/src/com/google/common/math/BigIntegerMath.java
return LongMath.log10(x.longValue(), mode); } int approxLog10 = (int) (log2(x, FLOOR) * LN_2 / LN_10); BigInteger approxPow = BigInteger.TEN.pow(approxLog10); int approxCmp = approxPow.compareTo(x); /* * We adjust approxLog10 and approxPow until they're equal to floor(log10(x)) and * 10^floor(log10(x)). */ if (approxCmp > 0) { /*
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/amd64.s
JCS 2(PC) JMP *(R12) // JMP (R12) JCS 2(PC) // JMP *(R12*4) // TODO: This line is silently dropped on the floor! JCS 2(PC) JMP *(R12)(R13*4) // JMP (R12)(R13*4) JCS 2(PC) JMP *(AX) // JMP (AX) JCS 2(PC) JMP *(SP) // JMP (SP) JCS 2(PC) // JMP *(AX*4) // TODO: This line is silently dropped on the floor! JCS 2(PC) JMP *(AX)(AX*4) // JMP (AX)(AX*4) JCS 2(PC) JMP 4(SP) JCS 2(PC) JMP (R12) JCS 2(PC)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Apr 09 18:57:21 UTC 2019 - 3.3K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/386.s
// CALL (AX*4) // TODO: This line is silently dropped on the floor! CALL foo+4(SB)(AX*4) CALL *4(SP) // CALL 4(SP) CALL *(AX) // CALL (AX) CALL *(SP) // CALL (SP) // CALL *(AX*4) // TODO: This line is silently dropped on the floor! CALL *(AX)(AX*4) // CALL (AX)(AX*4) CALL 4(SP) CALL (AX) CALL (SP) // CALL (AX*4) // TODO: This line is silently dropped on the floor! JCS 2(PC) JMP (AX)(AX*4)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Apr 09 18:57:21 UTC 2019 - 2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
} @CollectionSize.Require(SEVERAL) public void testFloorHole() { resetWithHole(); assertEquals(a, navigableSet.floor(a)); assertEquals(a, navigableSet.floor(b)); assertEquals(c, navigableSet.floor(c)); } @CollectionSize.Require(SEVERAL) public void testCeilingHole() { resetWithHole(); assertEquals(a, navigableSet.ceiling(a));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
// Relies on the correctness of sqrt(BigInteger, FLOOR). @GwtIncompatible // TODO public void testSqrtExact() { for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) { BigInteger floor = BigIntegerMath.sqrt(x, FLOOR); // We only expect an exception if x was not a perfect square. boolean isPerfectSquare = floor.pow(2).equals(x); try { assertEquals(floor, BigIntegerMath.sqrt(x, UNNECESSARY));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java
.roundUnnecessaryShouldThrow() .test(); } public void testRoundToDouble_negativeTwoToThe54MinusThree() { new RoundToDoubleTester(BigDecimal.valueOf((-1L << 54) - 3)) .setExpectation(-Math.pow(2, 54), DOWN, CEILING) .setExpectation( DoubleUtils.nextDown(-Math.pow(2, 54)), FLOOR, UP, HALF_DOWN, HALF_UP, HALF_EVEN)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 10.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java
private static final double[] doubleInLongRange = new double[ARRAY_SIZE]; private static final double[] positiveDoubles = new double[ARRAY_SIZE]; @Param({"DOWN", "UP", "FLOOR", "CEILING", "HALF_EVEN", "HALF_UP", "HALF_DOWN"}) RoundingMode mode; @BeforeExperiment void setUp() { for (int i = 0; i < ARRAY_SIZE; i++) { doubleInIntRange[i] = randomDouble(Integer.SIZE - 2);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.7K bytes - Viewed (0)