libgcobol: Add missing float128 suffix

* libgcobol.cc (__gg__float64_from_128): Mark literal as float128
	literal.
This commit is contained in:
Andreas Schwab 2025-04-14 14:20:08 +02:00
parent 0a074b8c7e
commit 6518799b2d

View file

@ -11708,7 +11708,7 @@ __gg__float64_from_128( cblc_field_t *dest,
// _Float128 value = *(_Float128*)(source->data+source_offset);
GCOB_FP128 value;
memcpy(&value, source->data+source_offset, 16);
if( FP128_FUNC(fabs)(value) > 1.7976931348623157E308 )
if( FP128_FUNC(fabs)(value) > GCOB_FP128_LITERAL(1.7976931348623157E308) )
{
retval = 1;
}