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
+8
View File
@@ -411,6 +411,14 @@ void RanluxEngine::flatArray(const int size, double* vect)
}
}
RanluxEngine::operator double() {
return flat();
}
RanluxEngine::operator float() {
return float( flat() );
}
RanluxEngine::operator unsigned int() {
return ((unsigned int)(flat() * exponent_bit_32()) & 0xffffffff) |
(((unsigned int)(float_seed_table[i_lag]*exponent_bit_32())>>16) & 0xff);