On 9/12/2022 3:29 PM, Remi Forax wrote:


------------------------------------------------------------------------

    *From: *"Brian Goetz" <[email protected]>
    *To: *"amber-spec-experts" <[email protected]>
    *Sent: *Monday, September 12, 2022 9:36:09 PM
    *Subject: *Knocking off two more vestiges of legacy switch


[snip]

I agree, it's quite sad that we have to support float and double but as you said composition is more important.

It is common for math library methods to have a preamble to screen out special values (infinities, NaN, 0.0, 1.0, etc.).

This would be a reasonable use of a switch on float/double switch.

-Joe

Reply via email to