This is an archive of the discontinued LLVM Phabricator instance.

[libc] Add missing cast in fputil sqrt code
ClosedPublic

Authored by mcgrathr on Mar 25 2023, 2:31 PM.

Details

Summary

A cast is necessary to avoid implicit narrowing warnings
when those are enabled.

Diff Detail

Event Timeline

mcgrathr created this revision.Mar 25 2023, 2:31 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 25 2023, 2:31 PM
mcgrathr requested review of this revision.Mar 25 2023, 2:31 PM
abrachet accepted this revision.Mar 25 2023, 2:37 PM

Looks like I missed this because I only built for x86. I was meaning to get to it. Thanks

This revision is now accepted and ready to land.Mar 25 2023, 2:37 PM
This revision was automatically updated to reflect the committed changes.