Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 137 for roundUp (0.08 sec)

  1. guava/src/com/google/common/math/DoubleUtils.java

        }
    
        /*
         * We need the top SIGNIFICAND_BITS + 1 bits, including the "implicit" one bit. To make rounding
         * easier, we pick out the top SIGNIFICAND_BITS + 2 bits, so we have one to help us round up or
         * down. twiceSignifFloor will contain the top SIGNIFICAND_BITS + 2 bits, and signifFloor the
         * top SIGNIFICAND_BITS + 1.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/BigDecimalMath.java

     * @author Louis Wasserman
     * @since 30.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public class BigDecimalMath {
      private BigDecimalMath() {}
    
      /**
       * Returns {@code x}, rounded to a {@code double} with the specified rounding mode. If {@code x}
       * is precisely representable as a {@code double}, its {@code double} value will be returned;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/UnsignedInteger.java

       * primitive conversion from {@code int} to {@code float}, and correctly rounded.
       */
      @Override
      public float floatValue() {
        return longValue();
      }
    
      /**
       * Returns the value of this {@code UnsignedInteger} as a {@code float}, analogous to a widening
       * primitive conversion from {@code int} to {@code double}, and correctly rounded.
       */
      @Override
      public double doubleValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/UnsignedInteger.java

       * primitive conversion from {@code int} to {@code float}, and correctly rounded.
       */
      @Override
      public float floatValue() {
        return longValue();
      }
    
      /**
       * Returns the value of this {@code UnsignedInteger} as a {@code float}, analogous to a widening
       * primitive conversion from {@code int} to {@code double}, and correctly rounded.
       */
      @Override
      public double doubleValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedLong.java

        return value;
      }
    
      /**
       * Returns the value of this {@code UnsignedLong} as a {@code float}, analogous to a widening
       * primitive conversion from {@code long} to {@code float}, and correctly rounded.
       */
      @Override
      public float floatValue() {
        if (value >= 0) {
          return (float) value;
        }
        // The top bit is set, which means that the float value is going to come from the top 24 bits.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/UnsignedLong.java

        return value;
      }
    
      /**
       * Returns the value of this {@code UnsignedLong} as a {@code float}, analogous to a widening
       * primitive conversion from {@code long} to {@code float}, and correctly rounded.
       */
      @Override
      public float floatValue() {
        if (value >= 0) {
          return (float) value;
        }
        // The top bit is set, which means that the float value is going to come from the top 24 bits.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  7. cmd/local-locker_test.go

    							if !ok || err != nil {
    								t.Fatal("failed:", err, ok)
    							}
    						}
    					}
    					start := time.Now()
    					l.expireOldLocks(time.Hour)
    					t.Logf("Scan Took: %v. Left: %d/%d", time.Since(start).Round(time.Millisecond), len(l.lockUID), len(l.lockMap))
    					if len(l.lockMap) != locks {
    						t.Fatalf("objects deleted, want %d != got %d", locks, len(l.lockMap))
    					}
    					if len(l.lockUID) != locks*readers {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/BigDecimalMath.java

     * @author Louis Wasserman
     * @since 30.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public class BigDecimalMath {
      private BigDecimalMath() {}
    
      /**
       * Returns {@code x}, rounded to a {@code double} with the specified rounding mode. If {@code x}
       * is precisely representable as a {@code double}, its {@code double} value will be returned;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskLogger.kt

      queue: TaskQueue,
      message: String,
    ) {
      fine("${queue.name} ${String.format("%-22s", message)}: ${task.name}")
    }
    
    /**
     * Returns a duration in the nearest whole-number units like "999 µs" or "  1 s ". This rounds 0.5
     * units away from 0 and 0.499 towards 0. The smallest unit this returns is "µs"; the largest unit
     * it returns is "s". For values in [-499..499] this returns "  0 µs".
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/util/DES.java

            work   = (leftt ^ right) & 0xaaaaaaaa;
            leftt ^= work;
            right ^= work;
            leftt  = (leftt << 1) | ((leftt >>> 31) & 1);
    
            for ( round = 0; round < 8; ++round )  {
                work   = (right << 28) | (right >>> 4);
                work  ^= keys[keysi++];
                fval   = SP7[ work         & 0x0000003f ];
                fval  |= SP5[(work >>>  8) & 0x0000003f ];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 21.4K bytes
    - Viewed (0)
Back to top