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, Nov 19, 11:01 PM
Unknown Object (File)
Oct 1 2024, 1:47 PM
Unknown Object (File)
Sep 30 2024, 1:33 PM
Unknown Object (File)
Sep 28 2024, 12:59 PM
Unknown Object (File)
Sep 25 2024, 6:12 PM
Unknown Object (File)
Sep 24 2024, 8:35 AM
Unknown Object (File)
Sep 22 2024, 11:19 AM
Unknown Object (File)
Sep 22 2024, 3:18 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