Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for doubleToLongBits (0.09 seconds)

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

        }
        Stats other = (Stats) obj;
        return count == other.count
            && doubleToLongBits(mean) == doubleToLongBits(other.mean)
            && doubleToLongBits(sumOfSquaresOfDeltas) == doubleToLongBits(other.sumOfSquaresOfDeltas)
            && doubleToLongBits(min) == doubleToLongBits(other.min)
            && doubleToLongBits(max) == doubleToLongBits(other.max);
      }
    
      /**
       * {@inheritDoc}
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 25.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/math/PairedStats.java

          return false;
        }
        PairedStats other = (PairedStats) obj;
        return xStats.equals(other.xStats)
            && yStats.equals(other.yStats)
            && doubleToLongBits(sumOfProductsOfDeltas) == doubleToLongBits(other.sumOfProductsOfDeltas);
      }
    
      /**
       * {@inheritDoc}
       *
       * <p><b>Note:</b> This hash code is consistent with exact equality of the calculated statistics,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/util/Encdec.java

         * @return the number of bytes written (8)
         */
        public static int enc_doublele(final double d, final byte[] dst, final int di) {
            return enc_uint64le(Double.doubleToLongBits(d), dst, di);
        }
    
        /**
         * Encodes a double value in big-endian byte order.
         *
         * @param d the double value to encode
         * @param dst the destination byte array
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/math/MathTesting.java

          }
        }
        for (int i = Double.MIN_EXPONENT; i <= Double.MAX_EXPONENT; i++) {
          for (int direction : new int[] {1, -1}) {
            double d = Double.longBitsToDouble(Double.doubleToLongBits(Math.scalb(1.0, i)) + direction);
            // Math.nextUp/nextDown
            if (d != Math.rint(d)) {
              fractionalBuilder.add(d);
            }
          }
        }
        for (double d :
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/util/Encdec.java

         * @return the number of bytes written (8)
         */
        public static int enc_doublele(final double d, final byte[] dst, final int di) {
            return enc_uint64le(Double.doubleToLongBits(d), dst, di);
        }
    
        /**
         * Encodes a double value in big-endian byte order.
         *
         * @param d the double value to encode
         * @param dst the destination byte array
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

            return false;
          }
        }
        return true;
      }
    
      // Match the behavior of Double.equals()
      private static boolean areEqual(double a, double b) {
        return Double.doubleToLongBits(a) == Double.doubleToLongBits(b);
      }
    
      /** Returns an unspecified hash code for the contents of this immutable array. */
      @Override
      public int hashCode() {
        int hash = 1;
        for (int i = start; i < end; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22.7K bytes
    - Click Count (0)
Back to Top