Re: rounding
From: Robert Corbett (robert.corbett_at_sun.com)
Date: 06/09/04
- Next message: West Coast Engineering: "MATFOR"
- Previous message: Robert Corbett: "Re: g77 : bad real*8 registration : is a bug ?"
- In reply to: Richard Maine: "Re: rounding"
- Next in thread: Richard Maine: "Re: rounding"
- Reply: Richard Maine: "Re: rounding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 8 Jun 2004 15:36:53 -0700
Richard Maine <nospam@see.signature> wrote in message news:<m1aczeuldr.fsf@macfortran.local>...
> robert.corbett@sun.com (Robert Corbett) writes:
>
> > The Fortran 95 standard can and has been interpreted as requiring
> > NINT(X) to return values more than 0.5 away from X....
>
> I would call that claim misleading. Perhaps one could argue, while
> dancing with the angels on the head of a pin, that it *CAN* be
> interpreted that way, insomuch as anything can be interpreted anyway,
> but that would make the point rather abstract. It is likely also true that
> it has at least once been interpreted this way by someone. I presume
> that's why Bob submitted f90 interp 200 (and his colleague Keith
> Bierman submitted 202). So yes, one could say that Bob contributed to
> motivating the rewording that was done in corrigenda 2 of f95 (and is
> thus is officially part of f95 and also is in the draft of f2003).
>
> However, note that if anyone interpreted the standard that way, it was
> *NOT* J3/WG5 - or anyway, that wasn't the final answer. I realize
> that Bob didn't explicitly say that the interpretation alluded to was
> an official interpretation from J3/WG5, but it would sure be easy to
> get that misimpression. (Looks to me like Giles took the bait).
I did not mean to say and, as noted, I did not say that there was an
official interpretation from J3 or WG5 that NINT is required to return
an integer other than the nearest integer. I might have hoped that by
noting that the Fortran 2003 draft had changed its wording, I would have
left the opposite impression, but apparently I did not.
Sincerely,
Bob Corbett
- Next message: West Coast Engineering: "MATFOR"
- Previous message: Robert Corbett: "Re: g77 : bad real*8 registration : is a bug ?"
- In reply to: Richard Maine: "Re: rounding"
- Next in thread: Richard Maine: "Re: rounding"
- Reply: Richard Maine: "Re: rounding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|