BGE and BGT: typos in the manual ?
Jorge D'ELIA
jdelia@intec.unl.edu.ar
Wed Oct 19 16:36:00 GMT 2011
Dear Tobias,
Thank you very much for your detailed explanation
(I did not know about these nuances).
In this case, it would not be necessary to have to
change it.
Regards,
Jorge.
----- Mensaje original -----
> De: "Tobias Burnus" <burnus@net-b.de>
> Para: fortran@gcc.gnu.org
> Enviados: Miércoles, 19 de Octubre 2011 13:20:56
> Asunto: Re: BGE and BGT: typos in the manual ?
> 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