hi all,

i generated some random numbers using functions , i have to check that the generated numbers are 32bit numbers, how can i check ? is any formula to check?please help me!

Recommended Answers

All 2 Replies

I hope you know the meaning of what is meant by 32-bit number.?

It means that it is below the range of 2^32=4294967296

So if a number which has value larger than the above value will not be a 32 bit number.

Anyway can i know what made you check the bits?

@john321--- I guess the OP is asking about 32 bit number not about whether the computer is 32-bit or not?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.