From 6e1d8928f1247d3b435c04c6f86b72b61309f8cd Mon Sep 17 00:00:00 2001 From: serge-sans-paille Date: Wed, 8 Nov 2023 22:28:29 +0100 Subject: [PATCH] WIP --- include/xsimd/arch/generic/xsimd_generic_math.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/xsimd/arch/generic/xsimd_generic_math.hpp b/include/xsimd/arch/generic/xsimd_generic_math.hpp index 10bf2abff..ebdb3deae 100644 --- a/include/xsimd/arch/generic/xsimd_generic_math.hpp +++ b/include/xsimd/arch/generic/xsimd_generic_math.hpp @@ -974,12 +974,8 @@ namespace xsimd template inline batch, A> polar(const batch& r, const batch& theta, requires_arch) noexcept { -#ifndef EMSCRIPTEN auto sincosTheta = sincos(theta); return { r * sincosTheta.second, r * sincosTheta.first }; -#else - return { r * cos(theta), r * sin(theta) }; -#endif } // fdim