Adding support for f16 John Cowan (14 Mar 2023 16:22 UTC)
Re: Adding support for f16 John Cowan (14 Mar 2023 16:23 UTC)
Re: Adding support for f16 Bradley Lucier (14 Mar 2023 16:35 UTC)
Re: Adding support for f16 Shiro Kawai (14 Mar 2023 22:39 UTC)
Re: Adding support for f16 Bradley Lucier (15 Mar 2023 16:24 UTC)
Re: Adding support for f16 Bradley Lucier (22 Mar 2023 18:27 UTC)
Re: Adding support for f16 Arthur A. Gleckler (22 Mar 2023 20:39 UTC)

Re: Adding support for f16 Bradley Lucier 15 Mar 2023 16:24 UTC

On 3/14/23 6:39 PM, Shiro Kawai wrote:
> The conversion routines is in C.  Writing it in portable Scheme may be a
> bit of challenge (you'll probably need to assume IEEE double
> representation for flonums, at least)

Perhaps computations can be done in IEEE double with C99 ilogb and
scalbn (which Gambit supports as flilogb and flscalbn) and tests and
constants for +inf.0, -inf.0, and +nan.0.

I'll need to think about it.

Thanks.  Brad