From fb3054d814d6398fcf28de1a1e8fa2f8cf020834 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Thu, 14 May 2026 11:26:40 +0300 Subject: [PATCH] Suppressed UB warning in cubeRoot function. --- modules/core/src/mathfuncs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/mathfuncs.cpp b/modules/core/src/mathfuncs.cpp index 71ff383eb4..abcfb54215 100644 --- a/modules/core/src/mathfuncs.cpp +++ b/modules/core/src/mathfuncs.cpp @@ -103,7 +103,7 @@ static bool ocl_math_op(InputArray _src1, InputArray _src2, OutputArray _dst, in Fast cube root by Ken Turkowski (http://www.worldserver.com/turk/computergraphics/papers.html) \* ************************************************************************** */ -float cubeRoot( float value ) +CV_DISABLE_UBSAN float cubeRoot( float value ) { CV_INSTRUMENT_REGION();