Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for toX (0.01 sec)

  1. android/guava/src/com/google/common/math/ToDoubleRounder.java

       */
      abstract double roundToDoubleArbitrarily(X x);
    
      /** Returns the sign of x: either -1, 0, or 1. */
      abstract int sign(X x);
    
      /** Returns d's value as an X, rounded with the specified mode. */
      abstract X toX(double d, RoundingMode mode);
    
      /** Returns a - b, guaranteed that both arguments are nonnegative. */
      abstract X minus(X a, X b);
    
      /** Rounds {@code x} to a {@code double}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/ToDoubleRounder.java

       */
      abstract double roundToDoubleArbitrarily(X x);
    
      /** Returns the sign of x: either -1, 0, or 1. */
      abstract int sign(X x);
    
      /** Returns d's value as an X, rounded with the specified mode. */
      abstract X toX(double d, RoundingMode mode);
    
      /** Returns a - b, guaranteed that both arguments are nonnegative. */
      abstract X minus(X a, X b);
    
      /** Rounds {@code x} to a {@code double}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/BigIntegerMath.java

          return DoubleUtils.bigToDouble(bigInteger);
        }
    
        @Override
        int sign(BigInteger bigInteger) {
          return bigInteger.signum();
        }
    
        @Override
        BigInteger toX(double d, RoundingMode mode) {
          return DoubleMath.roundToBigInteger(d, mode);
        }
    
        @Override
        BigInteger minus(BigInteger a, BigInteger b) {
          return a.subtract(b);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 18.8K bytes
    - Viewed (0)
Back to top