Skip to content

Standardize requires standard version comments #5510

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/c-language/static-assert-c.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ In C, when you don't include `<assert.h>`, the Microsoft compiler treats **`stat
In the following example, **`static_assert`** and **`_Static_assert`** are used to verify how many elements are in an enum and that integers are 32 bits wide.

```C
// requires /std:c11 or higher
// requires /std:c11 or later
#include <assert.h>

enum Items
Expand Down
4 changes: 2 additions & 2 deletions docs/c-runtime-library/reference/acos-acosf-acosl.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "acos, acosf, acosl"
description: "API reference for acos, acosf, and acosl; which calculate the arccosine of a floating-point value."
ms.date: "1/15/2021"
ms.date: 1/15/2021
api_name: ["acosf", "acos", "acosl", "_o_acos", "_o_acosf"]
api_location: ["msvcrt.dll", "msvcr80.dll", "msvcr90.dll", "msvcr100.dll", "msvcr100_clr0400.dll", "msvcr110.dll", "msvcr110_clr0400.dll", "msvcr120.dll", "msvcr120_clr0400.dll", "ucrtbase.dll", "api-ms-win-crt-math-l1-1-0.dll"]
api_type: ["DLLExport"]
Expand All @@ -19,7 +19,7 @@ Calculates the arccosine.
double acos( double x );
float acosf( float x );
long double acosl( long double x );
#define acos(X) // Requires C11 or higher
#define acos(X) // Requires C11 or later

float acos( float x ); // C++ only
long double acos( long double x ); // C++ only
Expand Down
5 changes: 2 additions & 3 deletions docs/c-runtime-library/reference/acosh-acoshf-acoshl.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
---
title: "acosh, acoshf, acoshl"
description: "API reference for acosh, acoshf, and acoshl; which calculate the inverse hyperbolic cosine of a floating-point value."
ms.date: "08/31/2020"
ms.date: 08/31/2020
api_name: ["acoshf", "acosh", "acoshl", "_o_acosh", "_o_acoshf", "_o_acoshl"]
api_location: ["msvcrt.dll", "msvcr80.dll", "msvcr90.dll", "msvcr100.dll", "msvcr100_clr0400.dll", "msvcr110.dll", "msvcr110_clr0400.dll", "msvcr120.dll", "msvcr120_clr0400.dll", "ucrtbase.dll", "api-ms-win-crt-math-l1-1-0.dll"]
api_type: ["DLLExport"]
topic_type: ["apiref"]
f1_keywords: ["acosh", "acoshf", "acoshl", "math/acosh", "math/acoshf", "math/acoshl"]
helpviewer_keywords: ["acoshf function", "acosh function", "acoshl function"]
ms.assetid: 6985c4d7-9e2a-44ce-9a9b-5a43015f15f7
---
# `acosh`, `acoshf`, `acoshl`

Expand All @@ -20,7 +19,7 @@ Calculates the inverse hyperbolic cosine.
double acosh( double x );
float acoshf( float x );
long double acoshl( long double x );
#define acosh(X) // Requires C11 or higher
#define acosh(X) // Requires C11 or later

float acosh( float x ); // C++ only
long double acosh( long double x ); // C++ only
Expand Down
4 changes: 2 additions & 2 deletions docs/c-runtime-library/reference/asin-asinf-asinl.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "asin, asinf, asinl"
description: "API reference for asin, asinf, and asinl; which calculate the arcsine of a floating-point value."
ms.date: "1/15/2021"
ms.date: 1/15/2021
api_name: ["asinf", "asinl", "asin", "_o_asin", "_o_asinf"]
api_location: ["msvcrt.dll", "msvcr80.dll", "msvcr90.dll", "msvcr100.dll", "msvcr100_clr0400.dll", "msvcr110.dll", "msvcr110_clr0400.dll", "msvcr120.dll", "msvcr120_clr0400.dll", "ucrtbase.dll", "api-ms-win-crt-math-l1-1-0.dll"]
api_type: ["DLLExport"]
Expand All @@ -19,7 +19,7 @@ Calculates the arcsine.
double asin( double x );
float asinf ( float x );
long double asinl( long double x );
#define asin(X) // Requires C11 or higher
#define asin(X) // Requires C11 or later

float asin( float x ); // C++ only
long double asin( long double x ); // C++ only
Expand Down
5 changes: 2 additions & 3 deletions docs/c-runtime-library/reference/asinh-asinhf-asinhl.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
---
title: "asinh, asinhf, asinhl"
description: "API reference for asinh, asinhf, and asinhl; which calculate the inverse hyperbolic sine of a floating-point value."
ms.date: "08/31/2020"
ms.date: 08/31/2020
api_name: ["asinh", "asinhf", "asinhl", "_o_asinh", "_o_asinhf", "_o_asinhl"]
api_location: ["msvcrt.dll", "msvcr80.dll", "msvcr90.dll", "msvcr100.dll", "msvcr100_clr0400.dll", "msvcr110.dll", "msvcr110_clr0400.dll", "msvcr120.dll", "msvcr120_clr0400.dll", "ucrtbase.dll", "api-ms-win-crt-math-l1-1-0.dll"]
api_type: ["DLLExport"]
topic_type: ["apiref"]
f1_keywords: ["asinhf", "asinhl", "asinh"]
helpviewer_keywords: ["asinh function", "asinhl function", "asinhf function"]
ms.assetid: 4488babe-1a7e-44ca-8b7b-c2db0a70084f
---
# `asinh`, `asinhf`, `asinhl`

Expand All @@ -20,7 +19,7 @@ Calculates the inverse hyperbolic sine.
double asinh( double x );
float asinhf( float x );
long double asinhl( long double x );
#define asinh(X) // Requires C11 or higher
#define asinh(X) // Requires C11 or later

float asinh( float x ); // C++ only
long double asinh( long double x ); // C++ only
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "atan, atanf, atanl, atan2, atan2f, atan2l"
description: "API reference for atan, atanf, atanl, atan2, atan2f, and atan2l; which calculate the arctangent of a floating-point value."
ms.date: "1/15/2021"
ms.date: 1/15/2021
api_name: ["atan2f", "atan2l", "atan2", "atanf", "atan", "atanl", "_o_atan", "_o_atan2", "_o_atan2f", "_o_atanf"]
api_location: ["msvcrt.dll", "msvcr80.dll", "msvcr90.dll", "msvcr100.dll", "msvcr100_clr0400.dll", "msvcr110.dll", "msvcr110_clr0400.dll", "msvcr120.dll", "msvcr120_clr0400.dll", "ucrtbase.dll", "api-ms-win-crt-math-l1-1-0.dll"]
api_type: ["DLLExport"]
Expand All @@ -19,15 +19,15 @@ Calculates the arctangent of **`x`** (**`atan`**, **`atanf`**, and **`atanl`**)
double atan( double x );
float atanf( float x );
long double atanl( long double x );
#define atan(X) // Requires C11 or higher
#define atan(X) // Requires C11 or later

float atan( float x ); // C++ only
long double atan( long double x ); // C++ only

double atan2( double y, double x );
float atan2f( float y, float x );
long double atan2l( long double y, long double x );
#define atan2(Y, X) // Requires C11 or higher
#define atan2(Y, X) // Requires C11 or later

float atan2( float y, float x ); // C++ only
long double atan2( long double y, long double x ); // C++ only
Expand Down
2 changes: 1 addition & 1 deletion docs/c-runtime-library/reference/atanh-atanhf-atanhl.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Calculates the inverse hyperbolic tangent.
double atanh( double x );
float atanhf( float x );
long double atanhl( long double x );
#define atanh(X) // Requires C11 or higher
#define atanh(X) // Requires C11 or later

float atanh( float x ); // C++ only
long double atanh( long double x ); // C++ only
Expand Down
5 changes: 2 additions & 3 deletions docs/c-runtime-library/reference/carg-cargf-cargl.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
---
title: "carg, cargf, cargl"
description: "API reference for carg, cargf, and cargl; which retrieve the argument of a complex number, with a branch cut along the negative real axis."
ms.date: "9/2/2020"
ms.date: 9/2/2020
api_name: ["carg", "cargf", "cargl"]
api_location: ["msvcrt.dll", "msvcr80.dll", "msvcr90.dll", "msvcr100.dll", "msvcr100_clr0400.dll", "msvcr110.dll", "msvcr110_clr0400.dll", "msvcr120.dll", "msvcr120_clr0400.dll", "ucrtbase.dll", "api-ms-win-crt-math-l1-1-0.dll"]
api_type: ["DLLExport"]
topic_type: ["apiref"]
f1_keywords: ["carg", "cargf", "cargl", "complex/carg", "complex/cargf", "complex/cargl"]
helpviewer_keywords: ["carg function", "cargf function", "cargl function"]
ms.assetid: 610d6a93-b929-46ab-a966-b77db0b804be
---
# `carg`, `cargf`, `cargl`

Expand All @@ -32,7 +31,7 @@ float cargf(
long double cargl(
_Lcomplex z
);
#define carg(X) // Requires C11 or higher
#define carg(X) // Requires C11 or later
```

### Parameters
Expand Down
5 changes: 2 additions & 3 deletions docs/c-runtime-library/reference/cbrt-cbrtf-cbrtl.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
---
title: "cbrt, cbrtf, cbrtl"
description: "API reference for cbrt, cbrtf, and cbrtl; which calculate a cube root"
ms.date: "9/1/2020"
ms.date: 9/1/2020
api_name: ["cbrt", "cbrtf", "cbrtl", "_o_cbrt", "_o_cbrtf"]
api_location: ["msvcrt.dll", "msvcr80.dll", "msvcr90.dll", "msvcr100.dll", "msvcr100_clr0400.dll", "msvcr110.dll", "msvcr110_clr0400.dll", "msvcr120.dll", "msvcr120_clr0400.dll", "ucrtbase.dll", "api-ms-win-crt-math-l1-1-0.dll"]
api_type: ["DLLExport"]
topic_type: ["apiref"]
f1_keywords: ["cbrtl", "cbrt", "cbrtf"]
helpviewer_keywords: ["cbrtl function", "cbrtf function", "cbrt function"]
ms.assetid: ab51d916-3db2-4beb-b46a-28b4062cd33f
---
# `cbrt`, `cbrtf`, `cbrtl`

Expand All @@ -32,7 +31,7 @@ float cbrtf(
long double cbrtl(
long double x
);
#define cbrt(X) // Requires C11 or higher
#define cbrt(X) // Requires C11 or later
```

### Parameters
Expand Down
5 changes: 2 additions & 3 deletions docs/c-runtime-library/reference/ceil-ceilf-ceill.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
---
title: "ceil, ceilf, ceill"
description: "API ref for calculating the ceiling of a value with ceil()."
ms.date: "9/1/2020"
ms.date: 9/1/2020
api_name: ["ceilf", "ceil", "ceill", "_o_ceil", "_o_ceilf"]
api_location: ["msvcrt.dll", "msvcr80.dll", "msvcr90.dll", "msvcr100.dll", "msvcr100_clr0400.dll", "msvcr110.dll", "msvcr110_clr0400.dll", "msvcr120.dll", "msvcr120_clr0400.dll", "ucrtbase.dll", "ntdll.dll", "api-ms-win-crt-math-l1-1-0.dll"]
api_type: ["DLLExport"]
topic_type: ["apiref"]
f1_keywords: ["ceil", "ceilf", "ceill"]
helpviewer_keywords: ["calculating value ceilings", "ceill function", "ceil function", "ceilf function"]
ms.assetid: f4e5acab-5c8f-4b10-9ae2-9561e6453718
---
# `ceil`, `ceilf`, `ceill`

Expand All @@ -32,7 +31,7 @@ float ceilf(
long double ceill(
long double x
);
#define ceil(X) // Requires C11 or higher
#define ceil(X) // Requires C11 or later
```

### Parameters
Expand Down
5 changes: 2 additions & 3 deletions docs/c-runtime-library/reference/cimag-cimagf-cimagl.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
---
title: "cimag, cimagf, cimagl"
description: "API reference for cimag, cimagf, and cimagl; which retrieve the imaginary part of a complex number."
ms.date: "9/2/2020"
ms.date: 9/2/2020
api_name: ["cimag", "cimagf", "cimagl"]
api_location: ["msvcrt.dll", "msvcr80.dll", "msvcr90.dll", "msvcr100.dll", "msvcr100_clr0400.dll", "msvcr110.dll", "msvcr110_clr0400.dll", "msvcr120.dll", "msvcr120_clr0400.dll", "ucrtbase.dll", "api-ms-win-crt-math-l1-1-0.dll"]
api_type: ["DLLExport"]
topic_type: ["apiref"]
f1_keywords: ["cimagf", "cimagl", "complex/cimag", "complex/cimagf", "complex/cimagl", "cimag"]
helpviewer_keywords: ["cimag function", "cimagf function", "cimagl function"]
ms.assetid: 0d8836f5-d61d-44cd-8731-6f75cb776def
---
# `cimag`, `cimagf`, `cimagl`

Expand All @@ -20,7 +19,7 @@ Retrieves the imaginary part of a complex number.
double cimag( _Dcomplex z );
float cimagf( _Fcomplex z );
long double cimagl( _Lcomplex z );
#define cimag(X) // Requires C11 or higher
#define cimag(X) // Requires C11 or later

float cimag( _Fcomplex z ); // C++ only
long double cimag( _Lcomplex z ); // C++ only
Expand Down
5 changes: 2 additions & 3 deletions docs/c-runtime-library/reference/conj-conjf-conjl.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
---
title: "conj, conjf, conjl"
description: "API reference for conj, conjf, and conjl; which retrieve the complex conjugate of a complex number."
ms.date: "9/2/2020"
ms.date: 9/2/2020
api_name: ["conj", "conjf", "conjl"]
api_location: ["msvcrt.dll", "msvcr80.dll", "msvcr90.dll", "msvcr100.dll", "msvcr100_clr0400.dll", "msvcr110.dll", "msvcr110_clr0400.dll", "msvcr120.dll", "msvcr120_clr0400.dll", "ucrtbase.dll", "api-ms-win-crt-math-l1-1-0.dll"]
api_type: ["DLLExport"]
topic_type: ["apiref"]
f1_keywords: ["conj", "conjf", "conjl", "complex/conj", "complex/conjf", "complex/conjl"]
helpviewer_keywords: ["conj function", "conjf function", "conjl function"]
ms.assetid: 792fccfa-19c6-4890-99f9-a3b89effccd6
---
# `conj`, `conjf`, `conjl`

Expand All @@ -32,7 +31,7 @@ _Fcomplex conjf(
_Lcomplex conjl(
_Lcomplex z
);
#define conj(X) // Requires C11 or higher
#define conj(X) // Requires C11 or later
```

### Parameters
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
---
title: "copysign, copysignf, copysignl, _copysign, _copysignf, _copysignl"
description: "API ref for returning a value that has the magnitude of one argument and the sign of another using copysign()"
ms.date: "9/1/2020"
ms.date: 9/1/2020
api_name: ["copysignf", "copysignl", "_copysignl", "_copysign", "_copysignf", "copysign"]
api_location: ["msvcrt.dll", "msvcr80.dll", "msvcr90.dll", "msvcr100.dll", "msvcr100_clr0400.dll", "msvcr110.dll", "msvcr110_clr0400.dll", "msvcr120.dll", "msvcr120_clr0400.dll", "ucrtbase.dll", "api-ms-win-crt-math-l1-1-0.dll"]
api_type: ["DLLExport"]
topic_type: ["apiref"]
f1_keywords: ["_copysignl", "copysign", "copysignf", "_copysign", "copysignl", "_copysignf"]
helpviewer_keywords: ["copysignl function", "_copysignl function", "copysign function", "_copysignf function", "_copysign function", "copysignf function"]
ms.assetid: 009216d6-72a2-402d-aa6c-91d924b2c9e4
---
# `copysign`, `copysignf`, `copysignl`, `_copysign`, `_copysignf`, `_copysignl`

Expand Down Expand Up @@ -45,7 +44,7 @@ long double _copysignl(
long double x,
long double y
);
#define copysign(X, Y) // Requires C11 or higher
#define copysign(X, Y) // Requires C11 or later
```
### Parameters
Expand Down
5 changes: 2 additions & 3 deletions docs/c-runtime-library/reference/cos-cosf-cosl.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
---
title: "cos, cosf, cosl"
description: "API reference for cos, cosf, and cosl; which calculate the cosine value of a floating-point number."
ms.date: "08/31/2020"
ms.date: 08/31/2020
api_name: ["cos", "cosf", "cosl", "_o_cos", "_o_cosf"]
api_location: ["msvcrt.dll", "msvcr80.dll", "msvcr90.dll", "msvcr100.dll", "msvcr100_clr0400.dll", "msvcr110.dll", "msvcr110_clr0400.dll", "msvcr120.dll", "msvcr120_clr0400.dll", "ucrtbase.dll", "api-ms-win-crt-math-l1-1-0.dll"]
api_type: ["DLLExport"]
topic_type: ["apiref"]
f1_keywords: ["cos", "cosf", "cosl"]
helpviewer_keywords: ["cosines", "cosl function", "calculating cosine", "cosf function", "cos function", "trigonometric functions", "cosines, calculating"]
ms.assetid: ae90435e-6b68-4a47-a81f-be87d5c08f16
---
# `cos`, `cosf`, `cosl`

Expand All @@ -20,7 +19,7 @@ Calculates the cosine.
double cos( double x );
float cosf( float x );
long double cosl( long double x );
#define cos(X) // Requires C11 or higher
#define cos(X) // Requires C11 or later

float cos( float x ); // C++ only
long double cos( long double x ); // C++ only
Expand Down
4 changes: 2 additions & 2 deletions docs/c-runtime-library/reference/cosh-coshf-coshl.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "cosh, coshf, coshl"
description: "API reference for cosh, coshf, and coshl; which calculate the hyperbolic cosine of a floating-point value."
ms.date: "1/15/2021"
ms.date: 1/15/2021
api_name: ["cosh", "coshf", "coshl", "_o_cosh", "_o_coshf"]
api_location: ["msvcrt.dll", "msvcr80.dll", "msvcr90.dll", "msvcr100.dll", "msvcr100_clr0400.dll", "msvcr110.dll", "msvcr110_clr0400.dll", "msvcr120.dll", "msvcr120_clr0400.dll", "ucrtbase.dll", "api-ms-win-crt-math-l1-1-0.dll"]
api_type: ["DLLExport"]
Expand All @@ -19,7 +19,7 @@ Calculates the hyperbolic cosine.
double cosh( double x );
float coshf( float x );
long double coshl( long double x );
#define cosh(X) // Requires C11 or higher
#define cosh(X) // Requires C11 or later

float cosh( float x ); // C++ only
long double cosh( long double x ); // C++ only
Expand Down
5 changes: 2 additions & 3 deletions docs/c-runtime-library/reference/cproj-cprojf-cprojl.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
---
title: "cproj, cprojf, cprojl"
description: "API reference for cproj, cprojf, and cprojl; which retrieve the projection of a complex number on the Reimann sphere."
ms.date: "9/2/2020"
ms.date: 9/2/2020
api_name: ["cproj", "cprojf", "cprojl"]
api_location: ["msvcrt.dll", "msvcr80.dll", "msvcr90.dll", "msvcr100.dll", "msvcr100_clr0400.dll", "msvcr110.dll", "msvcr110_clr0400.dll", "msvcr120.dll", "msvcr120_clr0400.dll", "ucrtbase.dll", "api-ms-win-crt-math-l1-1-0.dll"]
api_type: ["DLLExport"]
topic_type: ["apiref"]
f1_keywords: ["cproj", "cprojf", "cprojl", "complex/cproj", "complex/cprojf", "complex/cprojl"]
helpviewer_keywords: ["cproj function", "cprojf function", "cprojl function"]
ms.assetid: 32b49623-13bf-4cae-802e-7912d75030fe
---
# `cproj`, `cprojf`, `cprojl`

Expand All @@ -32,7 +31,7 @@ _Fcomplex cprojf(
_Lcomplex cprojl(
_Lcomplex z
);
#define cproj(X) // Requires C11 or higher
#define cproj(X) // Requires C11 or later
```

### Parameters
Expand Down
5 changes: 2 additions & 3 deletions docs/c-runtime-library/reference/creal-crealf-creall.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
---
title: "creal, crealf, creall"
description: "API reference for creal, crealf, creall; which retrieve the real part of a complex number."
ms.date: "9/2/2020"
ms.date: 9/2/2020
api_name: ["creal", "crealf", "creall"]
api_location: ["msvcrt.dll", "msvcr80.dll", "msvcr90.dll", "msvcr100.dll", "msvcr100_clr0400.dll", "msvcr110.dll", "msvcr110_clr0400.dll", "msvcr120.dll", "msvcr120_clr0400.dll", "ucrtbase.dll", "api-ms-win-crt-math-l1-1-0.dll"]
api_type: ["DLLExport"]
topic_type: ["apiref"]
f1_keywords: ["creal", "crealf", "creall", "complex/creal", "complex/crealf", "complex/creall"]
helpviewer_keywords: ["creal function", "crealf function", "creall function"]
ms.assetid: fa3ac62f-7aa3-4238-a71f-d6b00cd0c7c8
---
# `creal`, `crealf`, `creall`

Expand All @@ -20,7 +19,7 @@ Retrieves the real part of a complex number.
double creal( _Dcomplex z );
float crealf( _Fcomplex z );
long double creall( _Lcomplex z );
#define creal(X) // Requires C11 or higher
#define creal(X) // Requires C11 or later

float creal( _Fcomplex z ); // C++ only
long double creal( _Lcomplex z ); // C++ only
Expand Down
Loading