Functionsยง
- apply_
random_ ๐float_ error - Disturbes a floating-point result by a relative error in the range (-2^scale, 2^scale).
- apply_
random_ ๐float_ error_ ulp apply_random_float_error
gives instructions to apply a 2^N ULP error. This function implements these instructions such that applying a 2^N ULP error is less error prone. So for a 2^N ULP error, you would pass N as theulp_exponent
argument.- sqrt ๐