hypotf

Function hypotf 

Source
pub unsafe extern "C" fn hypotf(x: f32, y: f32) -> f32
Expand description

Calculate the length of the hypotenuse of a right triangle whose two sides have lengths x and without undue overflow or underflow.y

Nvidia docs

ยงReturns

Returns the length of the hypotenuse . If the correct value would overflow, returns . If the correct value would underflow, returns 0. If one of the input arguments is 0, returns the other argument For accuracy information for this function see the CUDA C Programming Guide, Appendix D.1, Table 6.