On Fri, Feb 19, 2021 at 12:29 AM John Cowan <xxxxxx@ccil.org> wrote:
>
> On Thu, Feb 18, 2021 at 7:21 AM Alex Shinn <xxxxxx@gmail.com> wrote:
>
>> Yes, that's a sensible implementation, but my question was what are
>> those 256 values?
>
> The user decides on a particular value set and binds the parameter to it, according to the needs of the application. This could be your 1.5.2 or WP's 1.4.3 (the first table) or 1.4.3.-2 (the second, integer-only, table with an exponent bias of -2). Even 0.4.4 is practical when all values are known to be nonpositive, in which case (- 2.0t0 3.0t0) => 0.0t0, (using "t" as the ad hoc exponent marker for "tiny") as it is the smallest value in the table.
There is no such parameter in the SRFI, and I think this would be a bad idea.
f8 vectors generated with different values of that parameter would be
incompatible,
despite having the same storage class. Better to have a separate storage class
for each variant.
And whether using parameters or separate variants, f8-storage-class still needs
a default specification. I think you want to make it implementation
defined, but
then I wonder if it is of any use. Regardless, as an implementor I
would like to
have agreement with other implementors on a sensible default.
--
Alex