You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: include/xsimd/arch/common/xsimd_common_math.hpp
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -117,6 +117,8 @@ namespace xsimd
117
117
returnfast_cast(self, out, A {});
118
118
}
119
119
template <classA, classT_out, classT_in>
120
+
XSIMD_INLINE batch<T_out, A> batch_cast(batch<T_in, A> const& self, batch<T_out, A> const&, requires_arch<common>, with_slow_conversion) noexcept __attribute__((no_sanitize("undefined")));
121
+
template <classA, classT_out, classT_in>
120
122
XSIMD_INLINE batch<T_out, A> batch_cast(batch<T_in, A> const& self, batch<T_out, A> const&, requires_arch<common>, with_slow_conversion) noexcept
121
123
{
122
124
static_assert(!std::is_same<T_in, T_out>::value, "there should be no conversion for this type combination");
0 commit comments