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)
Tue, Apr 29, 10:30 PM
Unknown Object (File)
Fri, Apr 25, 1:30 AM
Unknown Object (File)
Thu, Apr 24, 10:32 PM
Unknown Object (File)
Wed, Apr 23, 10:28 PM
Unknown Object (File)
Thu, Apr 17, 5:05 AM
Unknown Object (File)
Tue, Apr 15, 4:09 PM
Unknown Object (File)
Mar 9 2025, 6:52 AM
Unknown Object (File)
Feb 27 2025, 4:58 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