#if ! defined(CIPRES_UTIL_RAND_HPP) #define CIPRES_UTIL_RAND_HPP #ifdef __cplusplus namespace cipres { extern "C" { #endif /*__cplusplus*/ /** WARNING currently just using stdlib rand() and srand() !!!! */ double randDouble(); unsigned randInt(unsigned upperRange); unsigned setRandSeed(unsigned s); #ifdef __cplusplus } /* end extern "C" */ } /* end namespace cipres */ #endif /*__cplusplus*/ #endif //CIPRES_UTIL_RAND_HPP