Floating point conversion RFC

chris hermansen clhermansen@gmail.com
Fri Jun 5 18:55:44 GMT 2026


Thank you!

On Thu, Jun 4, 2026, 18:01 Mohammad-Reza Nabipoor <mnabipoor@gnu.org> wrote:

>
> Hi Chris.
>
> On Thu, Jun 04, 2026 at 09:06:30AM -0700, chris hermansen wrote:
> > Good morning everyone,
> >
> > Today a search led me to this paper which I find quite interesting and
> > perhaps something to consider in the context of deciding whether we need
> > a replacement for the routines in the Revised Report or van Vliet.
> >
> > https://arxiv.org/pdf/2603.06581
> >
> > Thoughts and comments please!
> >
>
>
> These are cool stuff! Thanks for sharing.
>
> Although for the implementation, my suggestion is to use available C
> functions (either directly calling libc functions or by copying the
> implementation from Gnulib/glibc). This has the benefit of getting
> things rolling faster and to have more confidence in the result.
>
> I'm not familar with transput much, so I cannot give concrete proposals;
> but I'd suggest for the conversion from string to real/long real/loong
> real,
> one can just use strtof/strtod/strtold C functions, and for conversion from
> real/long real/loong real to string, just use printf! (For sure these
> should be wrapped in a shim C layer to become ga68-friendly).
>
> If you give me declarations of the desired Algol 68 procedures, I can
> send a patch.
>

Most kind of you, thanks for the offer!

I will refresh my memory on their particulars and get back to you.

>
>
> Thanks for the work, and happy Algoling!
>

That's the thing!

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/algol68/attachments/20260605/dc940ff7/attachment.htm>


More information about the Algol68 mailing list