Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getSignificand (0.19 sec)

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

    import static com.google.common.math.DoubleUtils.IMPLICIT_BIT;
    import static com.google.common.math.DoubleUtils.SIGNIFICAND_BITS;
    import static com.google.common.math.DoubleUtils.getSignificand;
    import static com.google.common.math.DoubleUtils.isFinite;
    import static com.google.common.math.DoubleUtils.isNormal;
    import static com.google.common.math.DoubleUtils.scaleNormalize;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/DoubleUtils.java

      static final int EXPONENT_BIAS = 1023;
    
      /** The implicit 1 bit that is omitted in significands of normal doubles. */
      static final long IMPLICIT_BIT = SIGNIFICAND_MASK + 1;
    
      static long getSignificand(double d) {
        checkArgument(isFinite(d), "not a normal value");
        int exponent = getExponent(d);
        long bits = doubleToRawLongBits(d);
        bits &= SIGNIFICAND_MASK;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 28 15:37:52 GMT 2021
    - 5.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/LongMath.java

              }
              // halfway between the representable values; do the half-whatever logic
              switch (mode) {
                case HALF_EVEN:
                  return ((DoubleUtils.getSignificand(roundFloorAsDouble) & 1L) == 0)
                      ? roundFloorAsDouble
                      : roundCeilingAsDouble;
                case HALF_DOWN:
                  return (x >= 0) ? roundFloorAsDouble : roundCeilingAsDouble;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
Back to top