pranayr710
70dc2027b9
core: address review - fix cv_abs(int64) too, and tighten the test
...
- cv_abs(int64) had the same std::abs UB at INT64_MIN that cv_abs(int) had, so
cv::norm(CV_64S, NORM_L1) still returned a negative value - at every length, masked and unmasked.
Verified that before changing it. Same fix: negate in the unsigned type.
- Core_NormL1_32S becomes Core_NormL1_Signed and covers CV_64S alongside CV_32S, so both signed
integer depths are held to the same rule.
- EXPECT_DOUBLE_EQ -> EXPECT_EQ, since the test does claim exact equality: every value used is
below 2^53 in magnitude and so is its total.
- Shortened the comments in the test and in norm.simd.hpp to describe what the code must do rather
than retell the defects.
2026-10-10 19:55:25 +05:30
..
2026-07-15 15:45:01 +03:00
2026-05-20 17:57:51 +03:00
2025-09-19 03:25:40 +00:00
2026-07-09 12:17:24 +03:00
2023-01-09 11:08:02 +00:00
2024-11-14 08:33:22 +03:00
2026-10-07 08:35:31 +03:00
2026-09-13 02:30:55 +05:30
2026-03-02 01:47:14 -08:00
2026-10-06 09:15:49 +03:00
2026-07-18 01:26:36 +03:00
2026-10-07 08:35:31 +03:00
2024-01-19 16:53:08 +03:00
2026-09-23 10:44:20 +03:00
2025-01-10 15:02:18 +03:00
2026-07-18 01:26:36 +03:00
2022-07-24 11:58:17 +03:00
2018-09-07 20:33:52 +09:00
2026-07-30 03:09:43 +05:30
2026-07-15 15:45:01 +03:00
2026-09-09 20:12:34 +08:00
2018-07-04 19:11:29 +03:00
2025-09-15 15:03:34 +03:00
2026-09-06 10:20:41 +03:00
2026-07-15 15:45:01 +03:00
2026-10-06 21:17:53 +05:30
2026-09-06 10:20:41 +03:00
2026-09-16 09:22:35 +03:00
2026-05-08 17:32:56 +03:00
2026-09-23 11:18:41 +02:00
2026-05-20 17:29:34 +05:30
2026-05-20 17:29:34 +05:30
2019-03-05 14:47:04 +03:00
2025-08-11 12:15:24 +03:00
2023-05-22 11:02:04 +03:00
2026-07-28 20:28:24 +05:30
2022-03-03 07:21:53 +09:00
2019-03-24 18:34:09 +03:00
2026-09-16 13:59:50 +03:00
2026-09-24 11:02:15 +02:00
2018-04-24 16:03:40 +03:00
2013-03-22 14:03:15 +04:00
2026-09-22 01:01:01 +09:00
2026-07-22 11:44:27 +02:00
2021-02-16 11:10:45 +00:00
2025-10-20 08:30:28 +03:00
2024-02-11 10:42:41 +03:00
2026-09-23 10:44:20 +03:00
2021-09-10 12:10:41 +00:00
2026-10-02 13:18:18 +03:00
2026-09-25 10:00:15 +03:00
2023-09-21 18:24:38 +03:00
2026-09-29 17:06:55 +03:00
2025-03-30 16:17:07 +03:00
2023-06-20 09:56:57 +03:00
2026-09-23 10:44:20 +03:00
2026-06-18 17:29:18 +03:00
2026-06-18 17:29:18 +03:00
2026-07-18 01:26:36 +03:00
2026-07-18 01:26:36 +03:00
2026-07-18 01:26:36 +03:00
2026-07-18 01:26:36 +03:00
2026-09-23 10:44:20 +03:00
2026-07-18 01:26:36 +03:00
2026-09-23 10:44:20 +03:00
2026-09-25 08:53:58 +03:00
2018-09-14 06:45:31 +09:00
2026-07-09 12:17:24 +03:00
2025-09-15 15:03:34 +03:00
2026-09-23 10:44:20 +03:00
2025-09-15 15:03:34 +03:00
2026-10-02 16:20:57 +03:00
2026-10-09 09:01:51 +03:00
2026-10-06 12:44:51 +03:00
2025-05-07 13:17:42 +03:00
2026-09-23 10:44:20 +03:00
2026-09-23 10:44:20 +03:00
2023-08-11 08:33:33 +03:00
2026-09-23 10:44:20 +03:00
2026-09-23 10:44:20 +03:00
2023-11-09 10:32:47 +03:00
2026-09-23 11:18:41 +02:00
2026-10-02 16:20:57 +03:00
2026-10-02 16:20:57 +03:00
2026-07-09 12:17:24 +03:00
2026-10-10 19:55:25 +05:30
2024-02-12 14:20:35 +03:00
2026-07-18 01:26:36 +03:00
2026-07-26 15:03:35 +03:00
2024-10-16 15:28:19 +03:00
2026-02-18 04:35:41 +08:00
2018-01-26 04:09:11 +00:00
2026-09-24 11:02:15 +02:00
2024-11-14 08:33:22 +03:00
2026-09-23 14:28:55 +02:00
2025-03-07 08:35:44 +03:00
2026-05-19 13:44:50 +03:00
2026-10-04 03:38:30 +05:30
2026-10-02 18:55:19 +05:30
2026-09-14 07:48:54 +05:30
2026-09-14 07:48:54 +05:30
2026-07-15 15:45:01 +03:00
2026-09-14 07:48:54 +05:30
2026-09-24 11:02:15 +02:00
2026-09-23 10:44:20 +03:00
2026-09-18 14:56:16 +03:00
2026-09-18 14:56:16 +03:00
2026-10-06 12:44:51 +03:00
2026-09-23 14:28:55 +02:00
2026-09-23 10:44:20 +03:00
2023-10-06 13:33:21 +03:00
2026-07-10 18:31:01 +03:00
2018-02-12 14:14:08 +03:00
2026-07-01 15:48:47 +03:00
2018-08-27 14:42:18 +03:00
2025-06-10 10:16:50 +03:00
2026-09-29 12:07:34 +03:00
2026-07-09 12:17:24 +03:00
2014-08-15 12:09:16 +04:00
2024-03-26 15:17:18 +03:00
2026-05-21 15:53:15 +03:00
2026-01-08 09:52:35 +01:00
2026-08-21 01:07:25 +02:00
2018-01-16 17:33:06 +03:00
2022-02-22 19:55:26 +00:00
2024-10-30 18:37:22 +03:00