Issue 53100
Summary Clang's diagnosis may use non-standard terminology
Labels new issue
Assignees
Reporter pmor13
    Sample code ```float f = 0x0.123333p-1000f;```.

Invocation:
```
$ clang++ t589.cpp -std=c++17 -pedantic -c
t589.cpp:25:11: warning: magnitude of floating-point constant too small for type 'float'; minimum is 1.40129846E-45
      [-Wliteral-range]
```
С++ standard does not have "floating-point constant". С++ standard has "floating-point literal".

Note: In С++ I don't know why just "floating literal" is not enough, so there is a "floating-point literal" too.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to