Message: What's the precision of the random number of "G4UniformRand()" Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question What's the precision of the random number of "G4UniformRand()" 

Forum: Documentation and Examples
Date: 02 Jul, 2018
From: <DMHunter>

Hey Geant4ers,

I have a very basic question on the precision of the random number of "G4UniformRand()". With my Geant script, I have printed out 1000 values of the "G4UniformRand()", the smallest number I got is, 0.000495846. So I think the precision would be 10^-10 or smaller.

Could you please let me know what's the precision of the "G4UniformRand()" and what's the reference (since I am writing a note, so it's better to have a reference)? I can't find the answer on any of Geant documents I downloaded, neither Google.

Thanks

Best, Jun

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Idea: Re: What's the precision of the random number of   (Vladimir Ivanchenko - 01 Aug, 2018)
(_ None: Re: What's the precision of the random number of   (DMHunter - 01 Aug, 2018)
 Add Message Add Message
to: "What's the precision of the random number of "G4UniformRand()""

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]