Documentation
    Preparing search index...

    Function hashFloats

    • One-shot convenience: the digest of xs in iteration order.

      Exactly equivalent to feeding the same values to a createChecksum hasher.

      Parameters

      • xs: Iterable<number>

        values to hash, in a deterministic order chosen by the caller

      Returns number

      the uint32 digest (2166136261 for an empty sequence)

      RangeError on a NaN, infinite, or out-of-range value