Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-Wliteral-range warning on Apple M1 #2860

Closed
phprus opened this issue Apr 18, 2022 · 0 comments
Closed

-Wliteral-range warning on Apple M1 #2860

phprus opened this issue Apr 18, 2022 · 0 comments

Comments

@phprus
Copy link
Contributor

phprus commented Apr 18, 2022

Commit: 5d804ee

Warning:

test/format-test.cc:1012:36: warning: magnitude of floating-point constant too small for type 'long double'; minimum is 4.9406564584124654E-324 [-Wliteral-range]
    EXPECT_EQ(fmt::format("{:0g}", 5.02957084971264961283E-4940L),
                                   ^
1 warning generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants