mirror of
https://github.com/opencv/opencv.git
synced 2025-07-24 14:06:27 +08:00
![]() Fixed FP16 mat comparison in tests #26400 make sure that if both compared FP16/BF16 values are bitwise-equal, assume their difference to be 0 (zero), just like in the case of FP32 and FP64, don't try to compare them as floating-point numbers, because they can be NaN's. **fixes** #24894 - [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 |
||
---|---|---|
.. | ||
3d | ||
calib | ||
core | ||
dnn | ||
features2d | ||
flann | ||
gapi | ||
highgui | ||
imgcodecs | ||
imgproc | ||
java | ||
js | ||
objc | ||
objdetect | ||
photo | ||
python | ||
stereo | ||
stitching | ||
ts | ||
video | ||
videoio | ||
world | ||
CMakeLists.txt |