[J3] (SC22WG5.6269) Fortran 90 and BOZ literals
Shterenlikht, Anton
anton.shterenlikht at hpe.com
Tue Aug 11 04:10:53 EDT 2020
> On 11 Aug 2020, at 08:58, Robert Corbett via J3 <j3 at mailman.j3-fortran.org> wrote:
>
> Can you try using Adobe's Acrobat
> reader?
the same
Here's the screenshot from Acrobat:
http://cmplx.uk/pic/boz.png
>
>> On Aug 11, 2020, at 12:01 AM, Shterenlikht, Anton via J3 <j3 at mailman.j3-fortran.org> wrote:
>>
>> I'm looking at N692 with a mac Preview Version 10.1 (944.6.16.1)
>> and see exactly the same as Steve.
>>
>>> On 11 Aug 2020, at 04:01, Robert Corbett via J3 <j3 at mailman.j3-fortran.org> wrote:
>>>
>>> My printed copy of the ANSI
>>> Fortran 90 standard shows
>>> the single quote form of each
>>> BOZ constant followed by the
>>> double quote form. I suspect
>>> you are either having
>>> rendering problems, or you
>>> are working from a bad PDF
>>> file.
>>>
>>> Bob Corbett
>>>
>>>> On Aug 10, 2020, at 4:00 PM, Steve Lionel via J3 <j3 at mailman.j3-fortran.org> wrote:
>>>>
>>>> I am working on a "Doctor Fortran" post about BOZ constants, and ran across something very odd in Fortran 90:
>>>>
>>>>
>>>> R408 binary-constant is B ’ digit [ digit ] ... ’
>>>> or B
>>>> Constraint: digit must have one of the values 0 or 1.
>>>>
>>>> R409 octal-constant is O ’ digit [ digit ] ... ’
>>>> or O
>>>> Constraint: digit must have one of the values 0 through 7.
>>>>
>>>> R410 hex-constant is Z ’ hex-digit [ hex-digit ] ... ’
>>>> or Z
>>>>
>>>> The text never explains what a bare B, O or Z means. This is gone in Fortran 95 and I didn't see any mention of it in the three Fortran 90 corrigenda. What was this supposed to be? (If you get this on the J3 list, please reply to the WG5 list - thanks.)
>>>>
>>>> Steve
>>>>
>>>
>>
>
More information about the J3
mailing list