We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f6b74b commit 6ccd84aCopy full SHA for 6ccd84a
libdevice/fallback-complex-fp64.cpp
@@ -313,9 +313,9 @@ double __complex__ __devicelib_cacos(double __complex__ z) {
313
double __complex__ w =
314
__devicelib_clog(z + __devicelib_csqrt(__sqr(z) - 1.0));
315
if (__spirv_SignBitSet(z_imag))
316
- return CMPLX(__spirv_ocl_fabs(__devicelib_cimagf(w)),
+ return CMPLX(__spirv_ocl_fabs(__devicelib_cimag(w)),
317
__spirv_ocl_fabs(__devicelib_creal(w)));
318
319
-__spirv_ocl_fabs(__devicelib_creal(w)));
320
}
321
0 commit comments