Post
Topic
Board Development & Technical Discussion
Re: Blockchain Basic: Understanding Modulo Operation
by
pooya87
on 28/04/2020, 03:42:48 UTC
I remember during our early exercises in C++ Programming, we used this operator in order to find the odd and even numbers.

you could have used bitwise AND (&) to check if the least significant bit is set or not to determine odd and even-ness of a number. Tongue
it makes a big difference (speed-wise) for bigger integers such as 256-bit ones we use in bitcoin.