Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for getSignificand (0.16 seconds)

  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;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 19.3K bytes
    - Click Count (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;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:51:56 GMT 2026
    - 5K bytes
    - Click Count (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;
    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)
Back to Top