[Cfp-interest 1938] Re: WG14 IEEE 754-C binding meeting minutes 2021/02/17

Fred J. Tydeman tydeman at tybor.com
Fri Feb 26 14:57:56 PST 2021


On Wed, 17 Feb 2021 14:46:14 -0600 Rajan Bhakta wrote:
>
>      *AI*: Fred: Make CFP 1896 into a proposal for WG14 removing the word
>"NOTE" in change 1, and doing the change questioned in 7.31.8.
>

Attached.


---
Fred J. Tydeman        Tydeman Consulting
tydeman at tybor.com      Testing, numerics, programming
+1 (702) 608-6093      Vice-chair of PL22.11 (ANSI "C")
Sample C99+FPCE tests: http://www.tybor.com
Savers sleep well, investors eat well, spenders work forever.

-------------- next part --------------

   Submitter:CFP group
   Submission Date: 2021-??-??
   Document: WG14 N26??
   Title: N26??: fmin, fmax
   Reference Documents:N2596

   Summary: fmin and fmax have been superseded.

   Background.

   IEEE 754-2008 had minNum, minNumMag, maxNum, and maxNumMag operations.
   Some of these were added to C99 as fmin and fmax.

   WG14/N1137 Technical Report 24732 (Decimal floating point) added
   fmind32/64/128 and fmaxd32/64/128.

   They have been replaced in IEEE 754-2019 with minimum, minimumNumber,
   maximum, and maximumNumber, minimumMagnitude, minimumMagnitudeNumber,
   maximumMagnitude, and maximumMagnitudeNumber. These have been added to
   C23; some with shorter names.

   The following changes are against WG14 N2596 C23 draft.

   Add in 7.12.12.3 The fmin functions, the following to be paragraph 4:

     [INS: The fmax and fmin functions are similar to the fmaximum_num
     and fminimum_num functions, though may differ in which signed zero
     is returned when the arguments are differently signed zeros and in
     their treatment of signaling NaNs (see F.10.9.5). :INS]

   Remove 7.12.12.11 The fminimum_mag_num functions, paragraph 4

     [DEL: NOTE: The fmax and fmin functions are similar to the
     fmaximum_num and fminimum_num functions, though may differ in which
     signed zero is returned when the arguments are differently signed
     zeros and in their treatment of signaling NaNs (see F.10.9.5).
     :DEL]

   The above two changes move a paragraph and remove the word: NOTE.

   7.25 Type-generic math <tgmath.h>, paragraph 15: Replace [DEL: fmax
   :DEL] with [INS: fmaximum :INS] in three places

   F.3 Operations, paragraph 1: Remove [DEL: fmax :DEL] and [DEL: fmin
   :DEL] from the Operation binding table.

   F.3 Operations, paragraph 3: Add

     [INS: These functions have been superseded by fminimum_num and
     fmaximum_num. :INS]

   G.5.1 Multiplicative operators, paragraph 8: Replace [DEL: fmax :DEL]
   with [INS: fmaximum_num :INS] .

   The following changes are against WG14 N2601 Part 3 as annex X (which
   is being added to C23).

   In 7.12.11 Manipulation functions, remove:

     [DEL: fmaxfN fmaxfNx fmaxdN fmaxdNx fminfN fminfNx fmindN fmindNx
     :DEL]


More information about the Cfp-interest mailing list