Skip to content

Commit 3d7e067

Browse files
authored
Merge pull request #2821 from corob-msft/cr-2084
Fix 2084 floating point rounding direction
2 parents a9e4cdd + 6b3e657 commit 3d7e067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/c-language/truncation-of-floating-point-values.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 051a6e22-c636-4af8-9ac4-40160f4affca
88

99
**ANSI 3.2.1.4** The direction of truncation or rounding when a floating-point number is converted to a narrower floating-point number
1010

11-
When an underflow occurs, the value of a floating-point variable is rounded down to zero. An overflow may cause a run-time error or it may produce an unpredictable value, depending on the optimizations specified.
11+
When an underflow occurs, the value of a floating-point variable is rounded to zero. An overflow may cause a run-time error or it may produce an unpredictable value, depending on the optimizations specified.
1212

1313
## See also
1414

0 commit comments

Comments
 (0)