softcap
atlas_
core
1.0.0-beta-preview
In atlas_
core::
kimi_
k3::
situ
atlas_core
::
kimi_k3
::
situ
Function
softcap
Copy item path
Source
pub fn softcap(x:
f32
, beta:
f32
) ->
f32
Expand description
Smooth cap.
beta
must be finite and non-zero.