PING! Re: [PATCH, Fortran] Extension: COTAN and degree-valued trig intrinsics with -fdec-math
Steve Kargl
sgk@troutmask.apl.washington.edu
Tue Oct 11 18:37:00 GMT 2016
On Tue, Oct 11, 2016 at 11:10:13AM -0700, Jerry DeLisle wrote:
> @@ -1782,6 +1784,7 @@ radians_f (mpfr_t x, mp_rnd_t rnd_mode)
> mpfr_div_d (x, x, 180.0, rnd_mode);
>
I forgot to point out that the above should changed to
mpfr_div_ui (x, x, 180, rnd_mode);
In fact, any place where 180.0 and/or 360.0 should be
chnage to the unsigned integer equivalent.
--
Steve
More information about the Fortran
mailing list