jax-js
    Preparing search index...

    Function finfo

    • Machine limits for floating-point types.

      Parameters

      Returns {
          bits: number;
          dtype: DType;
          eps: number;
          epsneg: number;
          machep: number;
          max: number;
          maxexp: number;
          min: number;
          minexp: number;
          negep: number;
          nexp: number;
          nmant: number;
          precision: number;
          resolution: number;
          smallestNormal: number;
          smallestSubnormal: number;
      }

      • Readonlybits: number

        The number of bits occupied by the type.

      • Readonlydtype: DType

        Returns the dtype for which finfo returns information.

      • Readonlyeps: number

        The difference between 1.0 and the next smallest representable float larger than 1.0.

      • Readonlyepsneg: number

        The difference between 1.0 and the next largest representable float smaller than 1.0.

      • Readonlymachep: number

        The exponent that yields eps.

      • Readonlymax: number

        The largest representable finite number.

      • Readonlymaxexp: number

        The smallest positive power of the base (2) that causes overflow.

      • Readonlymin: number

        The smallest representable (most negative) finite number.

      • Readonlyminexp: number

        The largest negative power of the base (2) without leading zeros in mantissa.

      • Readonlynegep: number

        The exponent that yields epsneg.

      • Readonlynexp: number

        Number of bits in the exponent portion.

      • Readonlynmant: number

        Number of bits in the mantissa portion.

      • Readonlyprecision: number

        The approximate number of decimal digits to which this kind of float is precise.

      • Readonlyresolution: number

        The approximate decimal resolution, i.e., 10 ** -precision.

      • ReadonlysmallestNormal: number

        The smallest positive normal number.

      • ReadonlysmallestSubnormal: number

        The smallest positive subnormal number.