Module math

Module math 

Source

Traitsยง

IeeeExt
Extend functionality of rustc_apfloat softfloats

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_to_imm ๐Ÿ”’
Applies an error of [-N, +N] ULP to the given value. Will fail if val is not a floating point number.
apply_random_float_error_ulp ๐Ÿ”’
Applies an error of [-N, +N] ULP to the given value.
sqrt ๐Ÿ”’