Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 3 years ago

Language

C

Compiler

clang HEAD 13.0.0 (https://github.com/llvm/llvm-project.git c4ed142e695f14ba5675ec6d12226ee706329a0f)

Options
Warnings
C11(GNU)
no pedantic

Author

anonymous

over 3 years ago

$ clang prog.c -Wall -Wextra -std=gnu11
prog.c:5:5: error: GNU decimal type extension not supported
    _Decimal64 b = 0.1dd + 0.2dd;
    ^
prog.c:5:23: error: invalid suffix 'dd' on floating constant
    _Decimal64 b = 0.1dd + 0.2dd;
                      ^
prog.c:5:31: error: invalid suffix 'dd' on floating constant
    _Decimal64 b = 0.1dd + 0.2dd;
                              ^
prog.c:7:28: error: invalid suffix 'dd' on floating constant
    printf("%d\n", b == 0.3dd); // equal => 1
                           ^
4 errors generated.
Exit Code:
1