PDA

View Full Version : Rand_max



ooobooontooo
December 24th, 2008, 04:23 AM
Hi,

Does anyone know why they made RAND_MAX the maximum signed int value rather than the maximum unsigned int value? I see no reason as to why it would have to deal with signs because it goes from 0 to RAND_MAX right? No negative numbers right? Thanks in advance.