76 G4int errcode = posix_memalign( (
void**) &buffer ,
81 G4Exception(
"G4UniformRandPool::create_pool_align()",
83 "Cannot allocate aligned buffer");
106 if (
sizeof(
G4double)*CHAR_BIT==64 )
118 : size(siz),
buffer(0), currentIdx(0)
120 if (
sizeof(
G4double)*CHAR_BIT==64 )
134 if (
sizeof(
G4double)*CHAR_BIT==64 )
146 if ( newSize !=
size )
158 assert(rnds!=0 && howmany>0);
188 for ( ; cycle < maxcycles ; ++cycle )
238 return rndpool->GetOne();
248 rndpool->GetMany(rnds,(
unsigned int)howmany);
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)