StackOverflow Questions for Tag: integer-arithmetic

Mark
Mark

Reputation: 81

Postgres fast wrapping arithmetic operations without overflow on bigint

Score: 0

Views: 34

Answers: 1

Read More
sudo pkill depression
sudo pkill depression

Reputation: 181

Does C++ have dynamically declared types based on integer width arithmetics?

Score: 2

Views: 116

Answers: 1

Read More
adrianton3
adrianton3

Reputation: 2358

What is the fastest way to add 16 small numbers

Score: 5

Views: 301

Answers: 4

Read More
ksaa
ksaa

Reputation: 73

Arithmetic shift-right integers with half rounding toward zero

Score: 3

Views: 107

Answers: 1

Read More
Baba
Baba

Reputation: 95161

Unexpected results when working with very big integers on interpreted languages

Score: 194

Views: 29253

Answers: 36

Read More
Luther Kroe
Luther Kroe

Reputation: 31

Java 128-bit fused multiply and divide - is there an efficient algorithm?

Score: 2

Views: 377

Answers: 1

Read More
Nick
Nick

Reputation: 7957

How can I add numbers in a Bash script?

Score: 794

Views: 1373217

Answers: 15

Read More
user3188445
user3188445

Reputation: 4784

Safely check if signed multiplication would overflow in C++17

Score: 4

Views: 1007

Answers: 3

Read More
No Name QA
No Name QA

Reputation: 784

Python effective integer size

Score: 3

Views: 3894

Answers: 3

Read More
C.E.Sally
C.E.Sally

Reputation: 381

infinite precision integers: division by 2

Score: 4

Views: 304

Answers: 1

Read More
Megidd
Megidd

Reputation: 7989

A single byte that is from 0 to 255 to be rescaled from 0 to 7

Score: 0

Views: 131

Answers: 1

Read More
EE18
EE18

Reputation: 201

What is wrong with my derivation of this carry flag result for SUB?

Score: 1

Views: 100

Answers: 1

Read More
Qwerth
Qwerth

Reputation: 21

Python Overflow Warning in Scalar Add

Score: 0

Views: 3321

Answers: 2

Read More
Tim
Tim

Reputation: 99526

How can this code be changed to have no vulnerability to arithmetic overflow?

Score: 0

Views: 207

Answers: 1

Read More
Hydro
Hydro

Reputation: 1

MIPS not transferring values properly between registers (adding 28 for no reason)

Score: 0

Views: 39

Answers: 0

Read More
mikera
mikera

Reputation: 106401

Efficient 63-bit long computation of (a*b)/c in Java

Score: 4

Views: 87

Answers: 1

Read More
goku
goku

Reputation: 327

Time it takes to square in python

Score: 6

Views: 2547

Answers: 1

Read More
lmartens
lmartens

Reputation: 1512

Panicked at 'attempt to subtract with overflow' when cycling backwards though a list

Score: 44

Views: 56883

Answers: 3

Read More
Hp179
Hp179

Reputation: 21

How to decide when to use fixed point arithmetic over float?

Score: 2

Views: 2910

Answers: 4

Read More
user6342701
user6342701

Reputation:

Subtract unsigned ints into signed long result. Never negative?

Score: -1

Views: 150

Answers: 1

Read More
PreviousPage 1Next