cvFloor(-DBL_MAX) == INT_MAX && cvCeil(DBL_MAX) == -INT_MAX (Bug #1784)
Description
As the result the call "cv::checkRange(m)" that should test for NaN and infinite values always returns "false" (will be workaround-ed).
Associated revisions
workaround for the 'Bug #1784 (cvFloor/cvCeil)'; typos fixed; two more tests for checkRange
Merge pull request #1784 from SpecLad:ffmpeg-no-png
History
Updated by Vadim Pisarevsky almost 13 years ago
results of cvRound/cvFloor/cvCeil are not defined if the operands are out of INT_MIN .. INT_MAX range. Adding extra checks for the range will likely slow down the functions dramatically. BTW, it's pointed out in the reference manual.
- Status changed from Open to Cancelled
- Target version set to 2.4.0