Import Geant4 10.5.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2018-06-29 10:58:11 +02:00
parent fe81a77428
commit 6aa23be517
1581 changed files with 124288 additions and 83758 deletions
+3 -3
View File
@@ -422,10 +422,10 @@ void Ranlux64Engine::setSeed(long seed, int lux) {
}
// are we on a 64bit machine?
if( sizeof(long) >= 8 ) {
long topbits1, topbits2;
int64_t topbits1, topbits2;
#ifdef WIN32
topbits1 = ( seed >> 32) & 0xffff ;
topbits2 = ( seed >> 48) & 0xffff ;
topbits1 = ( (int64_t) seed >> 32) & 0xffff ;
topbits2 = ( (int64_t) seed >> 48) & 0xffff ;
#else
topbits1 = detail::rshift<32>(seed) & 0xffff ;
topbits2 = detail::rshift<48>(seed) & 0xffff ;