Alternate API Bradley Lucier (31 Oct 2020 19:42 UTC)
Re: Alternate API John Cowan (14 Nov 2020 00:49 UTC)
Re: Alternate API John Cowan (14 Nov 2020 01:02 UTC)
Re: Alternate API Wolfgang Corcoran-Mathe (14 Nov 2020 19:56 UTC)
Re: Alternate API John Cowan (14 Nov 2020 19:59 UTC)
Re: Alternate API Wolfgang Corcoran-Mathe (14 Nov 2020 20:13 UTC)
Re: Alternate API John Cowan (14 Nov 2020 20:18 UTC)
Re: Alternate API Wolfgang Corcoran-Mathe (14 Nov 2020 22:48 UTC)

Re: Alternate API Wolfgang Corcoran-Mathe 14 Nov 2020 19:56 UTC

On 2020-11-13 20:02 -0500, John Cowan wrote:
> I've added an optional argument "float" to make-nan, which if present says
> that the NaN has the same number of bits of representation as the float.
> This way we can produce, say, binary32 NaNs if and only if the Scheme
> implementation has binary32: you call make-nan with a fourth argument of
> 0.0f0.

How can we meaningfully implement this in the C sample implementation?
Currently we just have two sets of procedures, one for doubles and one
for floats.

--
Wolfgang Corcoran-Mathe  <xxxxxx@sigwinch.xyz>

"Invent and fit; have fits and reinvent!" --Alan J. Perlis