We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f23d965 commit 8ebf10fCopy full SHA for 8ebf10f
src/nikonmn_int.cpp
@@ -2929,7 +2929,7 @@ fmountlens[] = {
2929
2930
if (temp == 0)
2931
os << 0;
2932
- else if ( std::numeric_limits<float>::min() > temp && temp > std::numeric_limits<float>::max() )
+ else if ( std::numeric_limits<float>::min() > temp || temp > std::numeric_limits<float>::max() )
2933
os << "(" << value << ")";
2934
else if ( (int(temp)/temp) > 0.999 )
2935
os << int(temp);
0 commit comments