On Jan 24, 2017, at 3:42 PM, Van Snyder <[log in to unmask]> wrote:
> On Tue, 2017-01-24 at 21:38 +0000, Bill Long wrote:
>> Note that calling the libm routines replicates what C does. And the
>> motivation for adding many of these routines was to have Fortran
>> support the same functions as C.
>
> It's fine to provide the same or similar interfaces for procedures that
> are said to calculate values of the same function, but it's not
> necessary to replicate the mistakes.
Fair point. But the better solution is for the Linux distributions to include repaired library routines. That way the C results will be right as well.
Cheers,
Bill
Bill Long [log in to unmask]
Fortran Technical Support & voice: 651-605-9024
Bioinformatics Software Development fax: 651-605-9142
Cray Inc./ Cray Plaza, Suite 210/ 380 Jackson St./ St. Paul, MN 55101
|