On Sun, Apr 06, 2025 at 09:02:07AM +0100, Iain Sandoe wrote: > > + > +#if !defined (HAVE_STRTOF128) > +# if USE_QUADMATH > +# define strtof128 strtoflt128 > +# else > +# error "no available string to float 128" > +# endif > +#endif
If there is no strtof128 and not using libquadmath, there is always the possibility to use strtold if long double is IEEE quad. But that can be fixed incrementally. As for strfromf128, there is always the possibility to use snprintf with %.36LE format specifier if long double is IEEE quad. Jakub