by Graf Zahl » Mon Sep 12, 2016 10:26 am
This PR uses 'abs' with floating point values in the SBARINFO code. Does this work? Or would it be better to use 'fabs' here?
I remember having seen bug reports about this. If I understand this correctly, 'abs' for floats in the global namespace may not exist for all platforms. I believe only 'fabs' and 'std::abs' do.
This PR uses 'abs' with floating point values in the SBARINFO code. Does this work? Or would it be better to use 'fabs' here?
I remember having seen bug reports about this. If I understand this correctly, 'abs' for floats in the global namespace may not exist for all platforms. I believe only 'fabs' and 'std::abs' do.