StackOverflow Questions for Tag: twos-complement

Sorin Cioban
Sorin Cioban

Reputation: 2225

Excess-N to 2's complement

Score: -1

Views: 2177

Answers: 2

Read More
Nooblhu
Nooblhu

Reputation: 572

Whats the highest and the lowest integer for representing signed numbers in two's complement in 5 bits?

Score: 4

Views: 9380

Answers: 1

Read More
Horse
Horse

Reputation: 137

Why is it subtracting 1 and doing a bitwise inverse is equivalent to doing a bitwise inverse and adding 1?

Score: 0

Views: 1240

Answers: 2

Read More
Quick
Quick

Reputation: 1

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

Score: -1

Views: 2824

Answers: 1

Read More
Cosmos
Cosmos

Reputation: 135

How are negative numbers stored in "hard" memory when they are encountered during compilation?

Score: 0

Views: 818

Answers: 1

Read More
Jesse Werle
Jesse Werle

Reputation: 51

Sign magnitude, Ones' complement, Two's Complement

Score: 3

Views: 30093

Answers: 1

Read More
Squillbill
Squillbill

Reputation: 11

Switching a value from positive to negative using binary and twos complement

Score: 0

Views: 98

Answers: 1

Read More
Mohamad_T
Mohamad_T

Reputation: 7

Relational operators precision

Score: -1

Views: 123

Answers: 2

Read More
mathematics-and-caffeine
mathematics-and-caffeine

Reputation: 2205

What is the fixed-point representation of -0.5?

Score: 0

Views: 142

Answers: 0

Read More
Thomas Leofur
Thomas Leofur

Reputation: 15

How to check if values are greater than 7 by only using bitwise operators in C?

Score: -1

Views: 1069

Answers: 3

Read More
Jakobs
Jakobs

Reputation: 1

Convert temperature from 3 byte two's complement

Score: 0

Views: 207

Answers: 1

Read More
CPlus
CPlus

Reputation: 4848

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

Score: 1

Views: 424

Answers: 3

Read More
mahmood
mahmood

Reputation: 24785

Restoring division algorithm for signed numbers

Score: 0

Views: 4002

Answers: 0

Read More

Is it necessary to convert to binary when doing addition with a hexadecimal's two's complement?

Score: 1

Views: 150

Answers: 1

Read More
mbang
mbang

Reputation: 855

Computing indices in Fenwick tree/Binary Indexed Tree (BIT)

Score: 0

Views: 72

Answers: 1

Read More
amillerp
amillerp

Reputation: 11

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

Score: 0

Views: 345

Answers: 1

Read More
Boris
Boris

Reputation: 8951

How can I sign-extend a 5-bit value?

Score: 2

Views: 1671

Answers: 1

Read More
Roj
Roj

Reputation: 1352

Converting between a 3-byte slice and signed integer type

Score: 3

Views: 334

Answers: 2

Read More
km142646
km142646

Reputation: 73

Converting an integer to signed 2's complement binary string

Score: 1

Views: 860

Answers: 2

Read More
ntos
ntos

Reputation: 319

Wrong result when adding two bignums in gass assembler

Score: 1

Views: 42

Answers: 0

Read More
PreviousPage 2Next