MCPcopy Create free account
hub / github.com/OpenDriveLab/OpenLane / __Pyx_c_abs_float

Function __Pyx_c_abs_float

eval/CIPO_evaluation/pycocotools/_mask.c:13851–13857  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13849 }
13850 #if 1
13851 static CYTHON_INLINE float __Pyx_c_abs_float(__pyx_t_float_complex z) {
13852 #if !defined(HAVE_HYPOT) || defined(_MSC_VER)
13853 return sqrtf(z.real*z.real + z.imag*z.imag);
13854 #else
13855 return hypotf(z.real, z.imag);
13856 #endif
13857 }
13858 static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_pow_float(__pyx_t_float_complex a, __pyx_t_float_complex b) {
13859 __pyx_t_float_complex z;
13860 float r, lnr, theta, z_r, z_theta;

Callers 1

__Pyx_c_pow_floatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected