symphonia_
core
0.5.4
In symphonia_
core::
util::
clamp
Function
symphonia_core
::
util
::
clamp
::
clamp_f64
Copy item path
source
ยท
[
−
]
pub fn clamp_f64(val:
f64
) ->
f64
Expand description
Clamps the given value to the [-1.0, 1.0] range.