Skip to content

Conversation

@sanchom
Copy link
Contributor

@sanchom sanchom commented Aug 22, 2014

0.999999999999999999999999999999 is not less than 1.

See http://ideone.com/6trQOt

Using std::numeric_limits for certainty.

When p >= 1, setting p to 0.999999999999999999999999999999, didn't actually make p less than one.
@vpisarev vpisarev self-assigned this Aug 25, 2014
@vpisarev
Copy link
Contributor

👍

vpisarev added a commit that referenced this pull request Aug 25, 2014
Bugfix: Precision error.
@vpisarev vpisarev merged commit 9c1f398 into opencv:master Aug 25, 2014
allnes pushed a commit to allnes/opencv_contrib that referenced this pull request Jun 9, 2024
* Azure CI: Add "ref: releases/2021/3"

* Fix Klocwork issues in Java

* Updated arm plugin build script (opencv#65)

* Fix some Klocwork issues

* Update README.md (opencv#76)

* Fixed Convolution fusion (opencv#84)

* Remove MO deps from mo_pytorch module (opencv#93)

Co-authored-by: azhogov <[email protected]>
Co-authored-by: Dmitry Kurtaev <[email protected]>
Co-authored-by: Aleksandr Voron <[email protected]>
Co-authored-by: Liubov Batanina <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants