Search code examples
Why does 2's complement sign extension work by adding copies of the sign bit?...


assemblybinarybit-manipulationtwos-complementsign-extension

Read More
Why is there no better representation for floating points than sign and magnitude?...


floating-pointdoubletwos-complement

Read More
Why QString("FFFFFFFF").toInt(0, 16); returns 0?...


qtqstringtwos-complement

Read More
How is std::atomic implemented on platforms that do not use two's complement? (C++11/14/17)...


c++atomictwos-complement

Read More
Bitwise operations and shifts...


cbit-manipulationbitwise-operatorstwos-complementbit-shift

Read More
Subtraction producing a negative number in assembly - what is the hex value?...


assemblyhexx86-64atttwos-complement

Read More
Portable implementation of computing high 64 bits in widening 128 bit multiplication...


cwebassemblytwos-complement

Read More
Ramifications of C++20 requiring two's complement...


c++undefined-behaviortwos-complementc++20

Read More
How are integers internally represented at the bit level in Java?...


javamemorybinarystoretwos-complement

Read More
Representation of negative numbers in C?...


clanguage-lawyernegative-numbertwos-complement

Read More
What is “two's complement”?...


binarybit-manipulationcomputer-sciencetwos-complementdata-representation

Read More
Convert 24 bit two's complement to int?...


c#monointegerdata-conversiontwos-complement

Read More
How does Variable > -1 exactly evaluate in C?...


ccastingtwos-complement

Read More
Excess-N to 2's complement...


assemblybinaryinteltwos-complement

Read More
Whats the highest and the lowest integer for representing signed numbers in two's complement in ...


mathbinarybittwos-complement

Read More
Why is it subtracting 1 and doing a bitwise inverse is equivalent to doing a bitwise inverse and add...


binarytwos-complement

Read More
How to normalize the sum of two IEEE754 single precision numbers?...


floating-pointverilogsystem-verilogieee-754twos-complement

Read More
How can I perform a branchless conditional arithmetic operation in C?...


cbit-manipulationmicro-optimizationtwos-complementbranchless

Read More
int256_t using C++ boost library capable of showing 2^{256} - 1...


c++boostintegertwos-complementuint

Read More
How can I sign-extend a 5-bit value?...


c++bit-manipulationtwos-complement

Read More
Converting between a 3-byte slice and signed integer type...


gointegerdeserializationbytetwos-complement

Read More
Converting an integer to signed 2's complement binary string...


pythonbinarydecimaltwos-complement

Read More
Why prefer two's complement over sign-and-magnitude for signed numbers?...


binarymathtwos-complementnegative-numberinternal-representation

Read More
Converting from 8 bit to 16 bit...


signedtwos-complement

Read More
What Values of Variables x and y Will Produce Incorrect Results When Testing for Overflow After Subt...


cinteger-overflowtwos-complement

Read More
How to initialize a buffer of large size to all bits on?...


cbitmemcpytwos-complement

Read More
how does c compiler handle unsigned and signed integer? Why the assembly code for unsigned and signe...


cassemblysignedtwos-complementsignedness

Read More
Does CPU work only with two´s complement?...


mathcpucpu-architecturesubtractiontwos-complement

Read More
How to get 2's complement of a binary number in Java programmatically...


javabinarytwos-complement

Read More
Why not enforce 2's complement in C++?...


c++binarystandardstwos-complementunsigned-integer

Read More
BackNext