Skip to content

[libc++] std::fpclassify() on non-floats that are convertible to float is an error? #54356

Closed
@LebedevRI

Description

@LebedevRI

I don't know if this is a bug, but it's an inconsistency with libstdc++:
https://godbolt.org/z/dKGxhndEj

Metadata

Metadata

Labels

confirmedVerified by a second partygood first issuehttps://github.com/llvm/llvm-project/contributelibc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.rejects-valid

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions