[Bug cobol/119241] cobol Front end uses host floating point (128b) support
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 14 08:55:42 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119241
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Iain mentioned the COBOL FE using fmodf128, that can perhaps be done using
fold_const_call (CFN_BUILT_IN_FMODF128, float128_type_node, real_cst1,
real_cst2)
Note, all of this is assuming you want to do constant evaluation in the
_Float128 target type, if you want something else in some parts (e.g. using
_Float64 or _Float32), then the type needs to be different.
More information about the Gcc-bugs
mailing list