[patch, fortran, documentation] random_seed, random_number

Jerry DeLisle jvdelisle@verizon.net
Fri Apr 6 05:16:00 GMT 2007


Brooks Moses wrote:
> Daniel Franke wrote:
>> On Thursday 05 April 2007 23:52:04 Jerry DeLisle wrote:
>>> +@code{INTEGER} and rank one. It is @code{INTENT(IN)} and the size of
>>> +the array must be larger or equal to number returned by the @var{SIZE}
>>> +argument.
>>>
>>> change to:  equal to the number returned by ....  This is in two places.
>>
>> Done to avoid confusion.
>>
>> Nonetheless, I didn't make the "larger or equal" up, it's specifically 
>> mentioned in the standard (final draft), section 13.14.86: "shall be a 
>> default integer array of rank one and size >= N". The examples then 
>> have:     CALL RANDOM_SEED (SIZE = K)
>>     CALL RANDOM_SEED (PUT = SEED (1 : K))
> 
> As with diffs, it's useful to include context -- Jerry, did you mean 
> s/equal to number/equal to the number/, or s/larger or equal to 
> number/equal to the number/?  :)
> 
> To be pedantic, if you meant the former, then it ought to be "...the 
> size of the array must be larger than or equal to the number 
> returned...." -- note the "than" added after "larger".
> 
> - Brooks
> 
> 
I was talking about needing the word "the" in front of the word "number" or 
putting it in your lingo:

s/equal to number/equal to the number/

:)

And adding the "than" as well would be more correct.  :)

Did I say that right?

Jerry



More information about the Gcc-patches mailing list