mirror of
https://github.com/opencv/opencv.git
synced 2026-09-25 04:09:57 +03:00
Replace separate widening multiplication and FP64 addition with widening FMA in the unmasked and masked FP32 L2 norm kernels. Finite FP32 products are exactly representable in FP64, so this preserves numerical results without changing the accumulation order. Tail and mask undisturbed policies are retained. Co-authored-by: Yang Wang <yangwang@iscas.ac.cn> Co-authored-by: Yuansheng <yuansheng@isrc.iscas.ac.cn>