On Sun, Apr 06, 2025 at 09:02:07AM +0100, Iain Sandoe wrote:
> Many of the changes are mechanical:
>  1. 'GCOB_FP128' in place of _Float128.
>  2. Using FP128_FUNC to represent the spelling of intrinsics.
>  3. Using GCOB_FP128_LITERAL() to choose the suffix for literals.
> 
> This allows for:
>   __float128 and 'q' as the suffix when libquadmath is configured.
>    _Float128 / 'f128' when IEC-60559 is available in libc
>  long double / 'l' when long double is ieee753 128b.
> 
> Add libquadmath to libgcobol.spec and its dependencies  where the
> platform needs it.
> 
>       PR cobol/119244
> 
> libgcobol/ChangeLog:
> 
>       * Makefile.am: Add support for libquadmath.
>       * Makefile.in: Regenerate.
>       * acinclude.m4: Add support for libquadmath.
>       * config.h.in: Regenerate.
>       * configure: Regenerate.
>       * configure.ac: Configure libquadmath support.
>       * gmath.cc: Use GCOB_FP128 to represent the configured
>       128b floating point type.  Use FP128_FUNC to represent
>       the naming of intrinsics in the configure 128b floating
>       point type. Render literals with GCOB_FP128_LITERAL.
>       * intrinsic.cc: Likewise.
>       * libgcobol.cc: Likewise.
>       * libgcobol.h: Likewise.
>       * libgcobol-fp.h: New file.
>       * gfileio.cc: Include libgcobol-fp.h.
>       * libgcobol.spec.in: Add libquadmath configure output.
> 
> Signed-off-by: Iain Sandoe <i...@sandoe.co.uk>

Ok.

        Jakub

Reply via email to