[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CppLrandMax
Taken from my header file from C++ Builder:
In this case, LRAND_MAX equals 2,147,483,647, which equals 31 bits.
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CppLrandMax
(C++) LRAND_MAX
#defined constant in the header file stdlib.h, which equals the limit returned by std::_lrand. In other words, std::_lrand returns LRAND_MAX-1 at heighest.Taken from my header file from C++ Builder:
- define LRAND_MAX 0x7FFFFFFFU
In this case, LRAND_MAX equals 2,147,483,647, which equals 31 bits.
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
