From 0c27ee053c332bd4cf3bdb7cf8a0ef4c5b043ec9 Mon Sep 17 00:00:00 2001 From: Taojunshen Date: Thu, 15 Sep 2022 01:34:39 +0800 Subject: [PATCH] 9/14/2022 AM Publish (#4517) * fix: delete unnecessary asterisk followup fix of #4136 * optimize prime test * Update floating-point-support.md Explain what "ulp" stands for Co-authored-by: opbld17 Co-authored-by: Colin Robertson <3836425+corob-msft@users.noreply.github.com> Co-authored-by: opbld16 Co-authored-by: Kisaragi <48310258+KisaragiEffective@users.noreply.github.com> Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: TylerMSFT Co-authored-by: Bryan Gold <101299717+19BMG00@users.noreply.github.com> Co-authored-by: Edward Breeveld <42862235+EddieBreeveld@users.noreply.github.com> Co-authored-by: Jeff Borsecnik <36546697+jborsecnik@users.noreply.github.com> --- docs/c-runtime-library/floating-point-support.md | 2 +- docs/c-runtime-library/reference/fopen-wfopen.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/c-runtime-library/floating-point-support.md b/docs/c-runtime-library/floating-point-support.md index 3fdee3416f6..0db07fbcc6b 100644 --- a/docs/c-runtime-library/floating-point-support.md +++ b/docs/c-runtime-library/floating-point-support.md @@ -7,7 +7,7 @@ helpviewer_keywords: ["floating-point numbers, math routines", "math routines", --- # Math and floating-point support -The Universal C Runtime library (UCRT) provides many integral and floating-point math library functions, including all of those required by ISO C99. The floating-point functions are implemented to balance performance with correctness. Because producing the correctly rounded result may be prohibitively expensive, these functions are designed to efficiently produce a close approximation to the correctly rounded result. In most cases, the result produced is within +/-1 ulp of the correctly rounded result, though there may be cases where there is greater inaccuracy. +The Universal C Runtime library (UCRT) provides many integral and floating-point math library functions, including all of those required by ISO C99. The floating-point functions are implemented to balance performance with correctness. Because producing the correctly rounded result may be prohibitively expensive, these functions are designed to efficiently produce a close approximation to the correctly rounded result. In most cases, the result produced is within +/-1 ulp (unit of least precision) of the correctly rounded result, though there may be cases where there is greater inaccuracy. For ISO C Standard 11 (C11) and later, the `` header, in addition to including `` and ``, provides macros that invoke a corresponding math function based on the types of the parameters. See [Type-generic math](tgmath.md) for details. diff --git a/docs/c-runtime-library/reference/fopen-wfopen.md b/docs/c-runtime-library/reference/fopen-wfopen.md index 5cf41ba4185..2d528a7f070 100644 --- a/docs/c-runtime-library/reference/fopen-wfopen.md +++ b/docs/c-runtime-library/reference/fopen-wfopen.md @@ -72,7 +72,7 @@ The following table summarizes the modes that are used for various **`ccs`** fla | ccs flag | No BOM (or new file) | BOM: UTF-8 | BOM: UTF-16 | |--|--|--|--| -| **`UNICODE`** | **`UTF-16LE`** | **`*UTF-8`** | **`UTF-16LE`** | +| **`UNICODE`** | **`UTF-16LE`** | **`UTF-8`** | **`UTF-16LE`** | | **`UTF-8`** | **`UTF-8`** | **`UTF-8`** | **`UTF-16LE`** | | **`UTF-16LE`** | **`UTF-16LE`** | **`UTF-8`** | **`UTF-16LE`** |