You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -32,7 +32,7 @@ Floating-point function argument.
32
32
33
33
### Remarks
34
34
35
-
These floating-point primitives implement the C versions of the CRT macro [`fpclassify`](fpclassify.md) for floating-point types. The classification of the argument *`x`* is returned as one of these constants, defined in math.h:
35
+
These floating-point primitives implement the C versions of the CRT macro [`fpclassify`](fpclassify.md) for floating-point types. The classification of the argument *`x`* is returned as one of these constants, defined in `math.h`:
36
36
37
37
| Value | Description |
38
38
|---|---|
@@ -63,7 +63,7 @@ Floating-point function argument.
63
63
64
64
These floating-point primitives implement the [`signbit`](signbit.md) macro or function in the CRT. They return a non-zero value if the sign bit is set in the significand (mantissa) of the argument *`x`*. Otherwise, they return 0 if the sign bit isn't set.
65
65
66
-
## _dpcomp, _ldpcomp, _fdpcomp
66
+
## `_dpcomp`, `_ldpcomp`, `_fdpcomp`
67
67
68
68
### Syntax
69
69
@@ -80,7 +80,7 @@ Floating-point function arguments.
80
80
81
81
### Remarks
82
82
83
-
These floating-point primitives take two arguments, *`x`* and *`y`*, and return a value that shows their ordering relationship, expressed as the bitwise or of these constants, defined in math.h:
83
+
These floating-point primitives take two arguments, *`x`* and *`y`*, and return a value that shows their ordering relationship, expressed as the bitwise or of these constants, defined in `math.h`:
84
84
85
85
| Value | Description |
86
86
|------------|-----------------|
@@ -90,7 +90,7 @@ These floating-point primitives take two arguments, *`x`* and *`y`*, and return
90
90
91
91
These primitives implement the [`isgreater`, `isgreaterequal`, `isless`, `islessequal`, `islessgreater`, and `isunordered`](floating-point-ordering.md) macros and functions in the CRT.
92
92
93
-
## _dtest, _ldtest, _fdtest
93
+
## `_dtest`, `_ldtest`, `_fdtest`
94
94
95
95
### Syntax
96
96
@@ -107,7 +107,7 @@ Pointer to a floating-point argument.
107
107
108
108
### Remarks
109
109
110
-
These floating-point primitives implement the C++ versions of the CRT function [`fpclassify`](fpclassify.md) for floating-point types. The argument *`x`* is evaluated and the classification is returned as one of these constants, defined in math.h:
110
+
These floating-point primitives implement the C++ versions of the CRT function [`fpclassify`](fpclassify.md) for floating-point types. The argument *`x`* is evaluated and the classification is returned as one of these constants, defined in `math.h`:
111
111
112
112
| Value | Description |
113
113
|---|---|
@@ -119,7 +119,7 @@ These floating-point primitives implement the C++ versions of the CRT function [
119
119
120
120
For more detail, you can use the Microsoft-specific [`_fpclass`, `_fpclassf`](fpclass-fpclassf.md) functions. Use the [`fpclassify`](fpclassify.md) function for portability.
121
121
122
-
## _d_int, _ld_int, _fd_int
122
+
## `_d_int`, `_ld_int`, `_fd_int`
123
123
124
124
### Syntax
125
125
@@ -141,7 +141,7 @@ An exponent as an integral type.
141
141
142
142
These floating-point primitives take a pointer to a floating-point value *`px`* and an exponent value *`exp`*, and remove the fractional part of the floating-point value below the given exponent, if possible. The value returned is the result of `fpclassify` on the input value in *`px`* if it's a NaN or infinity, and on the output value in *`px`* otherwise.
143
143
144
-
## _dscale, _ldscale, _fdscale
144
+
## `_dscale`, `_ldscale`, `_fdscale`
145
145
146
146
### Syntax
147
147
@@ -163,7 +163,7 @@ An exponent as an integral type.
163
163
164
164
These floating-point primitives take a pointer to a floating-point value *`px`* and an exponent value *`exp`*, and scale the value in *`px`* by 2<sup>*`exp`*</sup>, if possible. The value returned is the result of `fpclassify` on the input value in *`px`* if it's a NaN or infinity, and on the output value in *`px`* otherwise. For portability, prefer the [`ldexp`, `ldexpf`, `ldexpl`](ldexp.md) functions.
165
165
166
-
## _dunscale, _ldunscale, _fdunscale
166
+
## `_dunscale`, `_ldunscale`, `_fdunscale`
167
167
168
168
### Syntax
169
169
@@ -185,7 +185,7 @@ Pointer to a floating-point argument.
185
185
186
186
These floating-point primitives break down the floating-point value pointed at by *`px`* into a significand (mantissa) and an exponent, if possible. The significand is scaled such that the absolute value is greater than or equal to 0.5 and less than 1.0. The exponent is the value *`n`*, where the original floating-point value is equal to the scaled significand times 2<sup>n</sup>. This integer exponent *`n`* is stored at the location pointed to by *`pexp`*. The value returned is the result of `fpclassify` on the input value in *`px`* if it's a NaN or infinity, and on the output value otherwise. For portability, prefer the [`frexp`, `frexpf`, `frexpl`](frexp.md) functions.
187
187
188
-
## _dexp, _ldexp, _fdexp
188
+
## `_dexp`, `_ldexp`, `_fdexp`
189
189
190
190
### Syntax
191
191
@@ -210,7 +210,7 @@ An exponent as an integral type.
210
210
211
211
These floating-point primitives construct a floating-point value in the location pointed at by *`px`* equal to *`y`* * 2<sup>exp</sup>. The value returned is the result of `fpclassify` on the input value in *`y`* if it's a NaN or infinity, and on the output value in *`px`* otherwise. For portability, prefer the [`ldexp`, `ldexpf`, `ldexpl`](ldexp.md) functions.
212
212
213
-
## _dnorm, _fdnorm
213
+
## `_dnorm`, `_fdnorm`
214
214
215
215
### Syntax
216
216
@@ -226,16 +226,16 @@ Pointer to the bitwise representation of a floating-point value expressed as an
226
226
227
227
### Remarks
228
228
229
-
These floating-point primitives normalize the fractional part of an underflowed floating-point value and adjust the *characteristic*, or biased exponent, to match. The value is passed as the bitwise representation of the floating-point type converted to an array of **`unsigned short`** through the `_double_val`, `_ldouble_val`, or `_float_val` type-punning union declared in math.h. The return value is the result of `fpclassify` on the input floating-point value if it's a NaN or infinity, and on the output value otherwise.
229
+
These floating-point primitives normalize the fractional part of an underflowed floating-point value and adjust the *characteristic*, or biased exponent, to match. The value is passed as the bitwise representation of the floating-point type converted to an array of **`unsigned short`** through the `_double_val`, `_ldouble_val`, or `_float_val` type-punning union declared in `math.h`. The return value is the result of `fpclassify` on the input floating-point value if it's a NaN or infinity, and on the output value otherwise.
230
230
231
-
## _dpoly, _ldpoly, _fdpoly
231
+
## `_dpoly`, `_ldpoly`, `_fdpoly`
232
232
233
233
### Syntax
234
234
235
235
```C
236
236
double __cdecl _dpoly(double x, double const* table, int n);
237
237
long double __cdecl _ldpoly(long double x, long double const* table, int n);
238
-
float __cdecl _fdpoly(float x, _float const* table, int n);
238
+
float __cdecl _fdpoly(float x, float const* table, int n);
239
239
```
240
240
241
241
### Parameters
@@ -253,7 +253,7 @@ Order of the polynomial to evaluate.
253
253
254
254
These floating-point primitives return the evaluation of *`x`* in the polynomial of order *`n`* whose coefficients are represented by the corresponding constant values in *`table`*. For example, if *`table[0]`* = 3.0, *`table[1]`* = 4.0, *`table[2]`* = 5.0, and *`n`* = 2, it represents the polynomial 5.0x<sup>2</sup> + 4.0x + 3.0. If this polynomial is evaluated for *`x`* of 2.0, the result is 31.0. These functions aren't used internally.
255
255
256
-
## _dlog, _dlog, _dlog
256
+
## `_dlog`, `_ldlog`, `_fdlog`
257
257
258
258
### Syntax
259
259
@@ -275,7 +275,7 @@ Flag that controls the base to use, 0 for base *e* and non-zero for base 10.
275
275
276
276
These floating-point primitives return the natural log of *`x`* (ln(x) or log<sub>*e*</sub>(x)), when *`base_flag`* is 0. They return the log base 10 of *`x`*, or log<sub>10</sub>(x), when *`base_flag`* is non-zero. These functions aren't used internally. For portability, prefer the functions [`log`, `logf`, `logl`, `log10`, `log10f`, and `log10l`](log-logf-log10-log10f.md).
277
277
278
-
## _dsin, _ldsin, _fdsin
278
+
## `_dsin`, `_ldsin`, `_fdsin`
279
279
280
280
### Syntax
281
281
@@ -299,7 +299,7 @@ These floating-point primitives return the sine of *`x`* offset by the *`quadran
299
299
300
300
## Requirements
301
301
302
-
Header: \<math.h>
302
+
Header: `<math.h>`
303
303
304
304
For more compatibility information, see [Compatibility](../compatibility.md).
Copy file name to clipboardExpand all lines: docs/code-quality/using-the-cpp-core-guidelines-checkers.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -305,7 +305,7 @@ The Guideline Support Library (GSL) is designed to help you follow the Core Guid
305
305
306
306
## <aname="vs2015_corecheck"></a> Use the C++ Core Check guidelines in Visual Studio 2015 projects
307
307
308
-
If you use Visual Studio 2015, the C++ Core Check code analysis rule sets aren't installed by default. Other steps are needed before you can enable the C++ Core Check code analysis tools in Visual Studio 2015. Microsoft provides support for Visual Studio 2015 projects by using a NuGet package. The package is named Microsoft.CppCoreCheck, and it's available at [http://www.nuget.org/packages/Microsoft.CppCoreCheck](https://www.nuget.org/packages/Microsoft.CppCoreCheck). This package requires you have at least Visual Studio 2015 with Update 1 installed.
308
+
If you use Visual Studio 2015, the C++ Core Check code analysis rule sets aren't installed by default. Other steps are needed before you can enable the C++ Core Check code analysis tools in Visual Studio 2015. Microsoft provides support for Visual Studio 2015 projects by using a NuGet package. The package is named Microsoft.CppCoreCheck, and it's available at [https://www.nuget.org/packages/Microsoft.CppCoreCheck](https://www.nuget.org/packages/Microsoft.CppCoreCheck). This package requires you have at least Visual Studio 2015 with Update 1 installed.
309
309
310
310
The package also installs another package as a dependency, the header-only Guideline Support Library (GSL). The GSL is also available on GitHub at [https://github.com/Microsoft/GSL](https://github.com/Microsoft/GSL).
Copy file name to clipboardExpand all lines: docs/error-messages/compiler-errors-2/compiler-error-c3066.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ int main() {
54
54
In Visual Studio 2015, the compiler erroneously treated copy-list-initialization in the same way as regular copy-initialization; it considered only converting constructors for overload resolution. In the following example, Visual Studio 2015 chooses MyInt(23) but Visual Studio 2017 correctly raises the error.
55
55
56
56
```
57
-
// From http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_closed.html#1228
57
+
// From https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_closed.html#1228
Copy file name to clipboardExpand all lines: docs/overview/cpp-conformance-improvements-2017.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ const A& a2{ 1 };
70
70
In Visual Studio 2015, the compiler erroneously treated copy-list-initialization in the same way as regular copy-initialization: it considered only converting constructors for overload resolution. In the following example, Visual Studio 2015 chooses `MyInt(23)`. Visual Studio 2017 correctly raises the error.
71
71
72
72
```cpp
73
-
// From http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_closed.html#1228
73
+
// From https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_closed.html#1228
Copy file name to clipboardExpand all lines: docs/overview/what-s-new-for-visual-cpp-in-visual-studio.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -519,7 +519,7 @@ The responsiveness of **Go To All** is improved. Previously, results appeared af
519
519
A partial list of new features in 17.2:
520
520
521
521
- Added compiler support for C++23 feature [deducing `this`](https://wg21.link/p0847), available under the **`/std:c++latest`** option.
522
-
- Added IntelliSense support for C++23 features [deducing `this`](https://wg21.link/p0847) and [`if consteval`](http://wg21.link/p1938).
522
+
- Added IntelliSense support for C++23 features [deducing `this`](https://wg21.link/p0847) and [`if consteval`](https://wg21.link/p1938).
523
523
- Added inline parameter name and type hint support, toggled by pressing **Alt+F1** or double-tapping **Ctrl**. This behavior can be customized under **Tools > Options > Text Editors > C/C++ > IntelliSense**.
524
524
- Added experimental support for C++20 modules in CMake projects. This support is currently only available with the Visual Studio (MSBuild) generator.
525
525
- In 17.1, we introduced peripheral register and RTOS views for embedded developers. We continue to improve the capabilities of those views with usability improvements in 17.2:
Copy file name to clipboardExpand all lines: docs/sanitizers/asan.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -137,7 +137,7 @@ AddressSanitizer is integrated with the Visual Studio IDE. To turn on AddressSan
137
137
138
138
To build from the IDE, opt out of any [incompatible options](./asan-known-issues.md#incompatible-options). For an existing project compiled by using **`/Od`** (or Debug mode), you may need to turn off these options:
139
139
140
-
- Turn off [edit and continue](/visualstudio/debugger/how-to-enable-and-disable-edit-and-continue)
140
+
- Turn off [`/ZI` (Debug Information Format)](../build/reference/z7-zi-zi-debug-information-format.md)
141
141
- Turn off [`/RTC1` (runtime checks)](../build/reference/rtc-run-time-error-checks.md)
142
142
- Turn off [`/INCREMENTAL` (incremental linking)](../build/reference/incremental-link-incrementally.md)
0 commit comments