WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
237899
Suppress warnings for implicit conversion from unsigned long to double
https://bugs.webkit.org/show_bug.cgi?id=237899
Summary
Suppress warnings for implicit conversion from unsigned long to double
Basuke Suzuki
Reported
2022-03-15 09:25:29 PDT
C:/PSDev/neko2/Tools/TestWebKitAPI/Tests/WTF/Int128.cpp:254:71: warning: implicit conversion from 'unsigned long' to 'double' changes value from 13527593555435554952 to 13527593555435554816 [-Wimplicit-const-int-float-conversion] double approx_double = 0xffffeeeeddddcccc * std::pow(2.0, 64.0) + 0xbbbbaaaa99998888; ~ ^~~~~~~~~~~~~~~~~~ C:/PSDev/neko2/Tools/TestWebKitAPI/Tests/WTF/Int128.cpp:254:28: warning: implicit conversion from 'unsigned long' to 'double' changes value from 18446725308424768716 to 18446725308424769536 [-Wimplicit-const-int-float-conversion] double approx_double = 0xffffeeeeddddcccc * std::pow(2.0, 64.0) + 0xbbbbaaaa99998888; ^~~~~~~~~~~~~~~~~~ ~ 2 warnings generated.
Attachments
PATCH
(1.41 KB, patch)
2022-03-16 10:26 PDT
,
Basuke Suzuki
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-03-16 05:40:55 PDT
<
rdar://problem/90364907
>
Basuke Suzuki
Comment 2
2022-03-16 10:26:54 PDT
Created
attachment 454854
[details]
PATCH
EWS
Comment 3
2022-03-16 13:51:40 PDT
Committed
r291363
(
248495@main
): <
https://commits.webkit.org/248495@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 454854
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug