wgblas
    Preparing search index...

    Function ulpDiff

    • ULP distance between two f32 scalars. Returns 0 if both have absolute value 0 (±0 are interchangeable in WGSL §15.7.1).

      Parameters

      • a: any
      • b: any

      Returns number

      integer ULP distance between a and b