BGE and BGT: typos in the manual ?

Tobias Burnus burnus@net-b.de
Wed Oct 19 16:21:00 GMT 2011


Dear Jorge,

On 10/19/2011 05:39 PM, Jorge D'ELIA wrote:
> a) http://gcc.gnu.org/onlinedocs/gfortran/BGE.html#BGE
>     8.32 BGE — Bitwise greater than or equal to
>     Description:
>     Determines whether an integral is a bitwise greater than or equal to another.
>                           ^^^^^^^
>                           integer ?

While "integer" might be more readable, the word "integral" is also 
correct. Hereby, "integral" is the adjective form of "integer" that is, 
here, used as a noun. It has to be read as "expression/variable/argument 
of integral type". The Fortran 2008 standard uses the word in this sense 
only once: "if b is an integral power of 10" (13.7.131 PRECISION(X)).

In the Oxford Dictionary of English, "integral" (as adjective) is 
defined as "2. [Mathematics] of or denoted by an integer. • involving 
only integers, especially as coefficients of a function."

And in Marriam-Webster, "integral" - again as adjective - is defined 
under 1(b) as "////(1) : being, containing, or relating to one or more 
mathematical integers".

The word "integral" has the advantage that one can see the object as 
consisting of several items (bits)  which are "complete in itself" 
("integer") and form the whole object. The whole object is of the 
Fortran type INTEGER.

However, I would not object to a patch which changes "integral" to 
"integer".

Tobias

PS: The C99 standard uses the word 10 times.
<http://www.merriam-webster.com/dictionary/integer>



More information about the Fortran mailing list