Skip to content

Commit 22efdb0

Browse files
author
Colin Robertson
committed
Fix headings
1 parent a87263b commit 22efdb0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/c-runtime-library/reference/control87-controlfp-control87-2.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Filled in with the control word for the x87 floating-point unit. Pass in 0 (**NU
4545
*sse2_cw*\
4646
Control word for the SSE floating-point unit. Pass in 0 (**NULL**) to set only the x87 control word.
4747

48-
## Return Value
48+
## Return value
4949

5050
For **_control87** and **_controlfp**, the bits in the value returned indicate the floating-point control state. For a complete definition of the bits that are returned by **_control87**, see FLOAT.H.
5151

@@ -67,7 +67,7 @@ _controlfp( _EM_INVALID, _MCW_EM );
6767
// DENORMAL exception mask remains unchanged
6868
```
6969
70-
The possible values for the mask constant (*mask*) and new control values (*new*) are shown in the following Hexadecimal values table. Use the portable constants listed below (**_MCW_EM**, **_EM_INVALID**, and so forth) as arguments to these functions, rather than supplying the hexadecimal values explicitly.
70+
The possible values for the mask constant (*mask*) and new control values (*new*) are shown in the Control word masks and values table. Use the portable constants listed below (**_MCW_EM**, **_EM_INVALID**, and so forth) as arguments to these functions, rather than supplying the hexadecimal values explicitly.
7171
7272
Intel x86-derived platforms support the DENORMAL input and output values in hardware. The x86 behavior is to preserve DENORMAL values. The ARM and ARM64 platforms and the x64 platforms that have SSE2 support enable DENORMAL operands and results to be flushed, or forced to zero. The **_controlfp** and **_control87** functions provide a mask to change this behavior. The following example demonstrates the use of this mask.
7373
@@ -93,7 +93,7 @@ On the ARM, ARM64, and x64 platforms, changing the infinity mode or the floating
9393
9494
These functions are ignored when you use [/clr (Common Language Runtime Compilation)](../../build/reference/clr-common-language-runtime-compilation.md) to compile. The common language runtime (CLR) only supports the default floating-point precision.
9595

96-
### Hexadecimal Values
96+
### Control word masks and values
9797

9898
For the **_MCW_EM** mask, clearing the mask sets the exception, which allows the hardware exception; setting the mask hides the exception. If a **_EM_UNDERFLOW** or **_EM_OVERFLOW** occurs, no hardware exception is thrown until the next floating-point instruction is executed. To generate a hardware exception immediately after **_EM_UNDERFLOW** or **_EM_OVERFLOW**, call the **FWAIT** MASM instruction.
9999

0 commit comments

Comments
 (0)