Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C

Name: C 2013-10-27 3:30

Surprised that I've never needed it before but does C provide a portable way to obtain the number of bits in an integer?

Name: L. A. Calculus 2013-10-28 2:52

>>15
REED DA FUKIN STANDARD YA RETOID.

(Types) 6.5.2p9:
A computation involving unsigned operands can never overflow, because a result that cannot be represented by the resulting unsigned integer type is reduced modulo the number that is one greater than the largest value that can be represented by the resulting type.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List