Files
opencv-MIRROR/modules/core/test
Prasad Ayush Kumar 7ee43da56d Merge pull request #30115 from Prasadayus:fix/neon-cvt-f64-precision
Fix int32 to double precision loss on ARM NEON - #30115

Fixes https://github.com/opencv/opencv/issues/30114

int32 to float64 conversion on **NEON went through a lossy int32 -> float32 -> float64 round trip**. float32's 24-bit mantissa silently corrupts any value above 2^24, causing `BigData_Imgproc_DistanceTransform.large_image_12218` to fail on ARM64 NEON builds.

Added a directed test (`test_cvt64_int32_precision`) covering large int32 magnitudes on both halves of the register, and confirmed the existing `BigData_Imgproc_DistanceTransform.large_image_12218` test now passes.

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake
2026-10-05 14:18:24 +03:00
..
2026-09-11 15:33:26 +03:00
2018-02-12 07:09:43 -05:00
2025-12-25 15:45:08 +06:00
2026-01-04 15:12:59 +01:00
2018-02-03 19:39:47 +00:00