miri
1.90.0-nightly
(35f603652 2025-06-29)
Module intrinsics
Module Items
Modules
Traits
Functions
In crate miri
miri
Module
intrinsics
Copy item path
Source
Modules
ยง
atomic
๐
simd
๐
Traits
ยง
Eval
Context
Ext
Functions
ยง
apply_
random_
float_
error_
to_
imm
๐
Applies a random ULP floating point error to
val
and returns the new value. So if you want an X ULP error,
ulp_exponent
should be log2(X).
clamp_
float_
value
๐
Given an floating-point operation and a floating-point value, clamps the result to the output range of the given operation.
fixed_
float_
value
๐
For the intrinsics:
fixed_
powi_
float_
value
๐
Returns
Some(output)
if
powi
(called
pown
in C) results in a fixed value specified in the C standard (specifically, C23 annex F.10.4.6) when doing
base^exp
. Otherwise, returns
None
.