Skip to content

Commit 0c27ee0

Browse files
Taojunshenopbld17colin-homeopbld16KisaragiEffective
authored
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 <[email protected]> Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: opbld16 <[email protected]> Co-authored-by: Kisaragi <[email protected]> Co-authored-by: Courtney Wales <[email protected]> Co-authored-by: opbld15 <[email protected]> Co-authored-by: TylerMSFT <[email protected]> Co-authored-by: Bryan Gold <[email protected]> Co-authored-by: Edward Breeveld <[email protected]> Co-authored-by: Jeff Borsecnik <[email protected]>
1 parent a5a5786 commit 0c27ee0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/c-runtime-library/floating-point-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ helpviewer_keywords: ["floating-point numbers, math routines", "math routines",
77
---
88
# Math and floating-point support
99

10-
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.
10+
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.
1111

1212
For ISO C Standard 11 (C11) and later, the `<tgmath.h>` header, in addition to including `<math.h>` and `<complex.h>`, provides macros that invoke a corresponding math function based on the types of the parameters. See [Type-generic math](tgmath.md) for details.
1313

docs/c-runtime-library/reference/fopen-wfopen.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ The following table summarizes the modes that are used for various **`ccs`** fla
7272

7373
| ccs flag | No BOM (or new file) | BOM: UTF-8 | BOM: UTF-16 |
7474
|--|--|--|--|
75-
| **`UNICODE`** | **`UTF-16LE`** | **`*UTF-8`** | **`UTF-16LE`** |
75+
| **`UNICODE`** | **`UTF-16LE`** | **`UTF-8`** | **`UTF-16LE`** |
7676
| **`UTF-8`** | **`UTF-8`** | **`UTF-8`** | **`UTF-16LE`** |
7777
| **`UTF-16LE`** | **`UTF-16LE`** | **`UTF-8`** | **`UTF-16LE`** |
7878

0 commit comments

Comments
 (0)