Page MenuHomeFreeBSD

msun: Silence new harmless -Wimplicit-int-float-conversion warnings
ClosedPublic

Authored by jrtc27 on Oct 6 2019, 3:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 30, 8:15 PM
Unknown Object (File)
Sun, Oct 26, 12:12 PM
Unknown Object (File)
Sun, Oct 19, 3:55 AM
Unknown Object (File)
Sat, Oct 18, 5:14 PM
Unknown Object (File)
Fri, Oct 17, 7:09 PM
Unknown Object (File)
Fri, Oct 17, 7:09 PM
Unknown Object (File)
Fri, Oct 17, 7:09 PM
Unknown Object (File)
Fri, Oct 17, 10:14 AM
Subscribers

Details

Summary

Clang from trunk recently added a warning for when implicit int-to-float
conversions cause a loss of precision. The code in question is designed
to be able to handle that, so add explicit casts to silence this.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable