Why am I getting a 256-bit arithmetic error: “unsigined _BitInt of bit sizes greater than 128 not supported” in C++23, Clang-18?
I need to use 256bit arithmetic in my C++ code on Mac with arm processor.
According to this Stack Overflow answer, C++23 has 256-bit arithmetic via _BitInt(256) and it has been implemented in Clang-16. I just installed it through brew install llvm
and compiling with clang++ outputs
256bit arithmetic in C++23, Clang-18
I need to use 256bit arithmetic in my C++ code on Mac with arm processor.
According to the accepted answer in this stackoverflow discussion, C++23 has 256bit arithmetic via _BitInt(256) and it has been implemented in Clang-16. I just installed it through brew install llvm and compiling with clang++ outputs