- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 35 for RoundingMode (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/math/LongMath.java
} /** * Returns the result of dividing {@code p} by {@code q}, rounding using the specified {@code * RoundingMode}. If the {@code RoundingMode} is {@link RoundingMode#DOWN}, then this method is * equivalent to regular Java division, {@code p / q}; and if it is {@link RoundingMode#FLOOR}, * then this method is equivalent to {@link Math#floorDiv(long,long) Math.floorDiv}{@code (p, q)}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 09 23:01:02 GMT 2026 - 46.8K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/math/LongMathRoundingBenchmark.java
import com.google.caliper.Param; import java.math.RoundingMode; import org.jspecify.annotations.NullUnmarked; /** * Benchmarks for the rounding methods of {@code LongMath}. * * @author Louis Wasserman */ @NullUnmarked public class LongMathRoundingBenchmark { @Param({"DOWN", "UP", "FLOOR", "CEILING", "HALF_EVEN", "HALF_UP", "HALF_DOWN"}) RoundingMode mode;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/math/BigIntegerMathRoundingBenchmark.java
import com.google.caliper.BeforeExperiment; import com.google.caliper.Benchmark; import com.google.caliper.Param; import java.math.BigInteger; import java.math.RoundingMode; import org.jspecify.annotations.NullUnmarked; /** * Benchmarks for the rounding methods of {@code BigIntegerMath}. * * @author Louis Wasserman */ @NullUnmarkedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.9K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/math/BigIntegerMathRoundingBenchmark.java
import com.google.caliper.BeforeExperiment; import com.google.caliper.Benchmark; import com.google.caliper.Param; import java.math.BigInteger; import java.math.RoundingMode; import org.jspecify.annotations.NullUnmarked; /** * Benchmarks for the rounding methods of {@code BigIntegerMath}. * * @author Louis Wasserman */ @NullUnmarkedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.9K bytes - Click Count (0) -
android/guava/src/com/google/common/math/MathPreconditions.java
*/ package com.google.common.math; import com.google.common.annotations.GwtCompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.math.BigInteger; import java.math.RoundingMode; /** * A collection of preconditions for math functions. * * @author Louis Wasserman */ @GwtCompatible final class MathPreconditions { @CanIgnoreReturnValueCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.2K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/math/LongMathRoundingBenchmark.java
import com.google.caliper.Param; import java.math.RoundingMode; import org.jspecify.annotations.NullUnmarked; /** * Benchmarks for the rounding methods of {@code LongMath}. * * @author Louis Wasserman */ @NullUnmarked public class LongMathRoundingBenchmark { @Param({"DOWN", "UP", "FLOOR", "CEILING", "HALF_EVEN", "HALF_UP", "HALF_DOWN"}) RoundingMode mode;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/math/IntMathRoundingBenchmark.java
import static com.google.common.math.MathBenchmarking.randomPositiveBigInteger; import com.google.caliper.BeforeExperiment; import com.google.caliper.Benchmark; import com.google.caliper.Param; import java.math.RoundingMode; import org.jspecify.annotations.NullUnmarked; /** * Benchmarks for the rounding methods of {@code IntMath}. * * @author Louis Wasserman */ @NullUnmarked public class IntMathRoundingBenchmark {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0) -
api/go1.5.txt
pkg math/big, const ToNearestAway RoundingMode pkg math/big, const ToNearestEven = 0 pkg math/big, const ToNearestEven RoundingMode pkg math/big, const ToNegativeInf = 4 pkg math/big, const ToNegativeInf RoundingMode pkg math/big, const ToPositiveInf = 5 pkg math/big, const ToPositiveInf RoundingMode pkg math/big, const ToZero = 2 pkg math/big, const ToZero RoundingMode pkg math/big, func Jacobi(*Int, *Int) int
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jul 30 21:14:09 GMT 2015 - 46.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MultimapBuilderTest.java
import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.math.RoundingMode; import java.util.SortedMap; import java.util.SortedSet; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java
MathPreconditions.checkInRangeForRoundingInputs(true, 1.0, RoundingMode.UP); } public void testCheckInRange_failure() { ArithmeticException expected = assertThrows( ArithmeticException.class, () -> MathPreconditions.checkInRangeForRoundingInputs(false, 1.0, RoundingMode.UP)); // b/38490623: The string contains "1.0" under most environment but just "1" under J2CL.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 8.1K bytes - Click Count (0)