4 ms·
I believe x gets promoted to int, negated and then narrowed to the return type.
by skitter 5y ago
I believe x gets promoted to int, negated and then narrowed to the return type.
- CalChris 5y agoThat is what the LLVM IR says happens: https://godbolt.org/z/4aexEK3aE https://godbolt.org/z/4aexEK3aE