Function cube_root

Source
pub fn cube_root(val: f32) -> Result<f32>
Expand description

Computes the cube root of an argument.

The function cubeRoot computes inline formula. Negative arguments are handled correctly. NaN and Inf are not handled. The accuracy approaches the maximum possible accuracy for single-precision data.

ยงParameters

  • val: A function argument.