| Issue |
161806
|
| Summary |
static float f = 0.f / 0.f; cannot be compiled
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
tydeman
|
This program will not compile.
int main(void){
if(1){
static float f = 0.f / 0.f;/* cannot compile this constant l-value _expression_ yet */
}
return 0;
}
I believe that C99 introduced this feature along with IEEE-754 floating-point.
It is one way to create a NAN.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs