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)
Jan 13 2024, 2:48 AM
Unknown Object (File)
Dec 20 2023, 3:33 AM
Unknown Object (File)
Oct 3 2023, 4:25 AM
Unknown Object (File)
Aug 21 2023, 3:58 AM
Unknown Object (File)
Jun 17 2023, 9:28 AM
Unknown Object (File)
Jan 14 2023, 11:34 PM
Unknown Object (File)
Dec 25 2022, 1:32 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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 26897
Build 25208: arc lint + arc unit