[Webkit-unassigned] [Bug 204834] New: Clang 10 reports a compilation warning for doubleToInteger in MathExtras.h: implicit conversion from 'unsigned long long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-int-float-conversion]
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 3 20:13:38 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=204834
Bug ID: 204834
Summary: Clang 10 reports a compilation warning for
doubleToInteger in MathExtras.h: implicit conversion
from 'unsigned long long' to 'double' changes value
from 18446744073709551615 to 18446744073709551616
[-Wimplicit-int-float-conversion]
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Web Template Framework
Assignee: webkit-unassigned at lists.webkit.org
Reporter: Hironori.Fujii at sony.com
Clang 10 reports a compilation warning:
> wtf/MathExtras.h(401,43): warning: implicit conversion from 'unsigned long long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-int-float-conversion]
> double fmodValue = fmod(trunc(d), std::numeric_limits<unsigned long long>::max() + 1.0);
doubleToInteger was added in Bug 67980.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191204/83a1618f/attachment.htm>
More information about the webkit-unassigned
mailing list