[libquadmath, patch] Add logbq() to libquadmath

Dominique d'Humières dominiq@lps.ens.fr
Wed Aug 5 13:43:00 GMT 2015


> Le 5 août 2015 à 15:11, FX <fxcoudert@gmail.com> a écrit :
> 
>> AFAICT there is something missing in the patch: I do not see any compilation of math/logbq.c and indeed no trace of logbq in libquadmath. What I am missing?
> 
> Maybe you didn’t regenerate the Makefile.in?

Indeed I did not!-(I have never succeeded with the regenerate process: not the right version, …).

> The patch was sent without this regenerated file, as is (as I understand) the custom on gcc-patches.
> 
> Attached is the full diff, including Makefile.in.

With the updated patch the test gfortran.dg/ieee/large_1.f90 compiles, but fails at run time due to the lines

  if (.not. ieee_support_underflow_control(x1)) call abort

and

  if (.not. ieee_support_underflow_control(x2)) call abort

IIRC Uros said that underflow id not supported for __float128.

Thanks for the answer,

Dominique

> 
> FX
> 
> <x.diff>



More information about the Fortran mailing list