Skip to content

Commit 1633aa4

Browse files
author
Colin Robertson
committed
Split trig and hyperbolic fns, more lint
1 parent 5af0be0 commit 1633aa4

122 files changed

Lines changed: 1875 additions & 1298 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openpublishing.redirection.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,21 @@
255255
"redirect_url": "/cpp/c-runtime-library/reference/itoa-s-itow-s",
256256
"redirect_document_id": false
257257
},
258+
{
259+
"source_path": "docs/c-runtime-library/reference/cos-cosf-cosl-cosh-coshf-coshl.md",
260+
"redirect_url": "/cpp/c-runtime-library/reference/cos-cosf-cosl.md",
261+
"redirect_document_id": false
262+
},
263+
{
264+
"source_path": "docs/c-runtime-library/reference/sin-sinf-sinl-sinh-sinhf-sinhl.md",
265+
"redirect_url": "/cpp/c-runtime-library/reference/sin-sinf-sinl.md",
266+
"redirect_document_id": false
267+
},
268+
{
269+
"source_path": "docs/c-runtime-library/reference/tan-tanf-tanl-tanh-tanhf-tanhl.md",
270+
"redirect_url": "/cpp/c-runtime-library/reference/tan-tanf-tanl.md",
271+
"redirect_document_id": false
272+
},
258273
{
259274
"source_path": "docs/c-runtime-library/reference/ultoa.md",
260275
"redirect_url": "/cpp/c-runtime-library/reference/itoa-itow",

docs/build/reference/ltcg-link-time-code-generation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Specifies that the linker only applies whole program optimization or link-time c
3434
Specifies whether the linker displays a progress indicator that shows what percentage of the link is complete. By default, this status information is not displayed.
3535

3636
**OFF** (optional)<br/>
37-
Disables link-time code generation. This behavior is the same as when /LTCG is not specified on the command line.
37+
Disables link-time code generation. This behavior is the same as when **/LTCG** is not specified on the command line.
3838

3939
**PGINSTRUMENT** (optional)<br/>
4040
This option is deprecated starting in Visual Studio 2015. Instead, use **/LTCG** and [/GENPROFILE or /FASTGENPROFILE](genprofile-fastgenprofile-generate-profiling-instrumented-build.md) to generate an instrumented build for profile-guided optimization. The data that is collected from instrumented runs is used to create an optimized image. For more information, see [Profile Guided Optimization](profile-guided-optimizations.md). The short form of this option is **/LTCG:PGI**.
@@ -139,7 +139,7 @@ Modules that are compiled by using [/GL](../../build/reference/gl-whole-program-
139139

140140
You can also apply **/LTCG** to specific builds by choosing **Build** > **Profile Guided Optimization** on the menu bar, or by choosing one of the Profile Guided Optimization options on the shortcut menu for the project.
141141

142-
#### To set this compiler option programmatically
142+
### To set this compiler option programmatically
143143

144144
- See <xref:Microsoft.VisualStudio.VCProjectEngine.VCLinkerTool.LinkTimeCodeGeneration%2A>.
145145

docs/c-runtime-library/cicos.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
11
---
22
title: "_CIcos | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "11/04/2016"
5-
ms.reviewer: ""
6-
ms.suite: ""
4+
ms.date: "04/11/2018"
75
ms.technology: ["cpp-standard-libraries"]
8-
ms.tgt_pltfrm: ""
9-
ms.topic: "article"
6+
ms.topic: "reference"
107
apiname: ["_CIcos"]
118
apilocation: ["msvcr90.dll", "msvcrt.dll", "msvcr120.dll", "msvcr100.dll", "msvcr80.dll", "msvcr110_clr0400.dll", "msvcr110.dll"]
129
apitype: "DLLExport"
1310
f1_keywords: ["CIcos", "_CIcos"]
1411
dev_langs: ["C++"]
1512
helpviewer_keywords: ["_CIcos intrinsic", "CIcos intrinsic"]
1613
ms.assetid: 6fc203fb-66f3-4ead-9784-f85833c26f1b
17-
caps.latest.revision: 5
1814
author: "corob-msft"
1915
ms.author: "corob"
2016
manager: "ghogen"
2117
ms.workload: ["cplusplus"]
2218
---
2319
# _CIcos
24-
Calculates the cosine of the top value in the stack.
25-
26-
## Syntax
27-
28-
```
29-
void __cdecl _CIcos();
30-
```
31-
32-
## Remarks
33-
This version of the `cos` function has a specialized calling convention that the compiler understands. It speeds up the execution because it prevents copies from being generated and helps with register allocation.
34-
35-
The resulting value is pushed onto the top of the stack.
36-
37-
## Requirements
38-
**Platform:** x86
39-
40-
## See Also
41-
[Alphabetical Function Reference](../c-runtime-library/reference/crt-alphabetical-function-reference.md)
42-
[cos, cosf, cosl, cosh, coshf, coshl](../c-runtime-library/reference/cos-cosf-cosl-cosh-coshf-coshl.md)
20+
21+
Calculates the cosine of the top value in the floating-point stack.
22+
23+
## Syntax
24+
25+
```C
26+
void __cdecl _CIcos();
27+
```
28+
29+
## Remarks
30+
31+
This version of the [cos]() function has a specialized calling convention that the compiler understands. It speeds up the execution because it prevents copies from being generated and helps with register allocation.
32+
33+
The resulting value is pushed onto the top of the floating-point stack.
34+
35+
## Requirements
36+
37+
**Platform:** x86
38+
39+
## See also
40+
41+
[Alphabetical Function Reference](../c-runtime-library/reference/crt-alphabetical-function-reference.md)
42+
[cos, cosf, cosl](../c-runtime-library/reference/cos-cosf-cosl.md)

docs/c-runtime-library/cisin.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
---
22
title: "_CIsin | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "11/04/2016"
5-
ms.reviewer: ""
6-
ms.suite: ""
4+
ms.date: "04/10/2018"
75
ms.technology: ["cpp-standard-libraries"]
8-
ms.tgt_pltfrm: ""
96
ms.topic: "article"
107
apiname: ["_CIsin"]
118
apilocation: ["msvcr80.dll", "msvcr100.dll", "msvcrt.dll", "msvcr110.dll", "msvcr120.dll", "msvcr90.dll", "msvcr110_clr0400.dll"]
@@ -14,29 +11,32 @@ f1_keywords: ["CIsin", "_CIsin"]
1411
dev_langs: ["C++"]
1512
helpviewer_keywords: ["_CIsin intrinsic", "CIsin intrinsic"]
1613
ms.assetid: f215f39a-2341-4f1c-ba8e-cb522451ceb2
17-
caps.latest.revision: 5
1814
author: "corob-msft"
1915
ms.author: "corob"
2016
manager: "ghogen"
2117
ms.workload: ["cplusplus"]
2218
---
2319
# _CIsin
24-
Calculates the sine of the top value in the stack.
25-
26-
## Syntax
27-
28-
```
29-
void __cdecl _CIsin();
30-
```
31-
32-
## Remarks
33-
This version of the `sin` function has a specialized calling convention that the compiler understands. It speeds up the execution because it prevents copies from being generated and helps with register allocation.
34-
35-
The resulting value is pushed onto the top of the stack.
36-
37-
## Requirements
38-
**Platform:** x86
39-
40-
## See Also
41-
[Alphabetical Function Reference](../c-runtime-library/reference/crt-alphabetical-function-reference.md)
42-
[sin, sinf, sinl, sinh, sinhf, sinhl](../c-runtime-library/reference/sin-sinf-sinl-sinh-sinhf-sinhl.md)
20+
21+
Calculates the sine of the top value in the floating-point stack.
22+
23+
## Syntax
24+
25+
```C
26+
void __cdecl _CIsin();
27+
```
28+
29+
## Remarks
30+
31+
This intrinsic version of the [sin](../c-runtime-library/reference/sin-sinf-sinl.md) function has a specialized calling convention that the compiler understands. It speeds up the execution because it prevents copies from being generated and helps with register allocation.
32+
33+
The resulting value is pushed onto the top of the floating-point stack.
34+
35+
## Requirements
36+
37+
**Platform:** x86
38+
39+
## See also
40+
41+
[Alphabetical Function Reference](../c-runtime-library/reference/crt-alphabetical-function-reference.md)<br/>
42+
[sin, sinf, sinl](../c-runtime-library/reference/sin-sinf-sinl.md)<br/>

docs/c-runtime-library/citan.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
11
---
22
title: "_CItan | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "11/04/2016"
5-
ms.reviewer: ""
6-
ms.suite: ""
4+
ms.date: "04/11/2018"
75
ms.technology: ["cpp-standard-libraries"]
8-
ms.tgt_pltfrm: ""
9-
ms.topic: "article"
6+
ms.topic: "reference"
107
apiname: ["_CItan"]
118
apilocation: ["msvcr100.dll", "msvcr110_clr0400.dll", "msvcr80.dll", "msvcrt.dll", "msvcr110.dll", "msvcr90.dll", "msvcr120.dll"]
129
apitype: "DLLExport"
1310
f1_keywords: ["_CItan", "CItan"]
1411
dev_langs: ["C++"]
1512
helpviewer_keywords: ["CItan intrinsic", "_CItan intrinsic"]
1613
ms.assetid: d1ea3113-50a2-45a6-b6bc-680fcdcc0928
17-
caps.latest.revision: 5
1814
author: "corob-msft"
1915
ms.author: "corob"
2016
manager: "ghogen"
2117
ms.workload: ["cplusplus"]
2218
---
2319
# _CItan
24-
Calculates the tangent of the top value on the stack.
25-
26-
## Syntax
27-
28-
```
29-
void __cdecl _CItan();
30-
```
31-
32-
## Remarks
33-
This version of the `tan` function has a specialized calling convention that the compiler understands. The function speeds up the execution because it prevents copies from being generated and helps with register allocation.
34-
35-
The resulting value is pushed onto the top of the stack.
36-
37-
## Requirements
38-
**Platform:** x86
39-
40-
## See Also
41-
[Alphabetical Function Reference](../c-runtime-library/reference/crt-alphabetical-function-reference.md)
42-
[tan, tanf, tanl, tanh, tanhf, tanhl](../c-runtime-library/reference/tan-tanf-tanl-tanh-tanhf-tanhl.md)
20+
21+
Calculates the tangent of the top value on the floating-point stack.
22+
23+
## Syntax
24+
25+
```C
26+
void __cdecl _CItan();
27+
```
28+
29+
## Remarks
30+
31+
This version of the [tan](../c-runtime-library/reference/tan-tanf-tanl.md) function has a specialized calling convention that the compiler understands. The function speeds up the execution because it prevents copies from being generated and helps with register allocation.
32+
33+
The resulting value is pushed onto the top of the floating-point stack.
34+
35+
## Requirements
36+
37+
**Platform:** x86
38+
39+
## See also
40+
41+
[Alphabetical Function Reference](../c-runtime-library/reference/crt-alphabetical-function-reference.md)<br/>
42+
[tan, tanf, tanl](../c-runtime-library/reference/tan-tanf-tanl.md)<br/>

docs/c-runtime-library/code-pages.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,6 @@ A *code page* is a character set, which can include numbers, punctuation marks,
4040
- The "C" locale is defined by ANSI to correspond to the locale in which C programs have traditionally executed. The code page for the "C" locale ("C" code page) corresponds to the ASCII character set. For example, in the "C" locale, **islower** returns true for the values 0x61 - 0x7A only. In another locale, **islower** may return true for these as well as other values, as defined by that locale.
4141

4242
## See Also
43-
[Internationalization](../c-runtime-library/internationalization.md)<br/>
43+
44+
[Internationalization](../c-runtime-library/internationalization.md)<br/>
4445
[Universal C runtime routines by category](../c-runtime-library/run-time-routines-by-category.md)<br/>

docs/c-runtime-library/console-and-port-i-o.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,6 @@ These routines read and write on your console or on the specified port. The cons
4242
|[_ungetch, _ungetwch](../c-runtime-library/reference/ungetch-ungetwch-ungetch-nolock-ungetwch-nolock.md)|"Unget" last character read from console so it becomes next character read|
4343

4444
## See Also
45-
[Input and Output](../c-runtime-library/input-and-output.md)<br/>
45+
46+
[Input and Output](../c-runtime-library/input-and-output.md)<br/>
4647
[Universal C runtime routines by category](../c-runtime-library/run-time-routines-by-category.md)<br/>

docs/c-runtime-library/data-alignment.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,5 @@ The following C run-time functions support data alignment.
4343
|[_aligned_recalloc_dbg](../c-runtime-library/reference/aligned-recalloc-dbg.md)|Changes the size of a memory block that was allocated with [_aligned_malloc](../c-runtime-library/reference/aligned-malloc.md) or [_aligned_offset_malloc](../c-runtime-library/reference/aligned-offset-malloc.md) and initializes the memory to 0 (debug version only).|
4444

4545
## See Also
46-
[Universal C runtime routines by category](../c-runtime-library/run-time-routines-by-category.md)<br/>
46+
47+
[Universal C runtime routines by category](../c-runtime-library/run-time-routines-by-category.md)<br/>

0 commit comments

Comments
 (0)