Skip to content

Commit 513c2b9

Browse files
committed
Merge pull request opencv#9709 from savuor:softfloat_r3d
2 parents e8ee284 + 945706a commit 513c2b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/core/src/softfloat.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1911,7 +1911,7 @@ static float64_t f64_sqrt( float64_t a )
19111911
sigZ = ((uint_fast64_t) sig32Z<<32 | 1<<5) + ((uint_fast64_t) q<<3);
19121912
/*------------------------------------------------------------------------
19131913
*------------------------------------------------------------------------*/
1914-
if ( (sigZ & 0x1FF) < 1<<5 ) {
1914+
if ( (sigZ & 0x1FF) < 0x22 ) {
19151915
sigZ &= ~(uint_fast64_t) 0x3F;
19161916
shiftedSigZ = sigZ>>6;
19171917
rem = (sigA<<52) - shiftedSigZ * shiftedSigZ;

0 commit comments

Comments
 (0)