null character without reason in written files

unomas unomas@correo.ugr.es
Thu Oct 31 19:43:00 GMT 2013


El 2013-10-31 19:43, Steve Kargl escribió:
> On Thu, Oct 31, 2013 at 07:38:10PM +0100, unomas wrote:
>>
>> > However, as you are using a Fortran95 compiler, it
>> > comes with a PRNG.  See the manual for RANDOM_NUMBER intrinsic
>> > subroutine.
>>
>> I know it but that's not a RNG with good statistical properties.
>
> Huh?  Can you be more specific or are you repeating
> something that someone told you?

I personally checked the presence of gaps once.

Recipe: do a simple program printing numbers between 0 and 1 and plot 
them, with the x-coordinate being the order in which they appears and y 
the number you got. You should see a solid (at least, uniform) rectangle 
with the color of the dots, but instead, you will find some "roads of 
vaccum": values that almost never will appear.



More information about the Fortran mailing list