[Cfp-interest 2744] Re: comparison macros and exceptions due to conversion to the semantic type

Vincent Lefevre vincent at vinc17.net
Mon Apr 3 07:37:58 PDT 2023


On 2023-03-28 10:02:18 -0700, Jim Thomas wrote:
> If the current (7.12.17) spec isn’t clear, we could consider
> appending to footnote 303 (ref. N3054): "It is intended that any
> conversion of an argument to semantic type raise floating-point
> exceptions appropriate for the conversion."

Or 7.12.17.6 could be written differently: instead of saying

  It raises no floating-point exceptions if neither argument is
  a signaling NaN.

the text should mention only the "invalid" floating-point exception,
like what 7.12.17.1 to 7.12.17.5 do.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


More information about the Cfp-interest mailing list