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)
Wed, Jan 22, 9:23 AM
Unknown Object (File)
Sat, Jan 18, 1:27 AM
Unknown Object (File)
Sat, Jan 11, 3:36 AM
Unknown Object (File)
Sat, Jan 11, 12:12 AM
Unknown Object (File)
Nov 27 2024, 11:01 AM
Unknown Object (File)
Nov 26 2024, 8:25 AM
Unknown Object (File)
Nov 19 2024, 11:01 PM
Unknown Object (File)
Oct 1 2024, 1:47 PM
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