diff --git a/docs/standard-library/complex-double.md b/docs/standard-library/complex-double.md index 386c66d380..a2dd59629c 100644 --- a/docs/standard-library/complex-double.md +++ b/docs/standard-library/complex-double.md @@ -1,10 +1,9 @@ --- -description: "Learn more about: complex" title: "complex" -ms.date: "11/04/2016" +description: "Learn more about: complex" +ms.date: 11/04/2016 f1_keywords: ["complex/std::complex"] helpviewer_keywords: ["complex function"] -ms.assetid: 0d0b9d2a-9b9b-410b-82a0-86b6df127e47 --- # `complex` @@ -29,13 +28,13 @@ constexpr explicit complex(const complex& complexNum); ### Parameters -*RealVal*\ +*`RealVal`*\ The value of type **`double`** for the real part of the complex number being constructed. -*ImagVal*\ +*`ImagVal`*\ The value of type **`double`** for the imaginary part of the complex number being constructed. -*complexNum*\ +*`complexNum`*\ The complex number of type **`float`** or of type **`long double`** whose real and imaginary parts are used to initialize a complex number of type **`double`** being constructed. ## Return Value @@ -46,7 +45,7 @@ A complex number of type **`double`**. The explicit specialization of the class template complex to a complex class of type **`double`** differs from the class template only in the constructors it defines. The conversion from **`float`** to **`double`** is allowed to be implicit, but the conversion from **`long double`** to **`double`** is required to be **`explicit`**. The use of **`explicit`** rules out the initiation with type conversion using assignment syntax. -For more information on the class template `complex`, see [complex Class](../standard-library/complex-class.md). For a list of members of the class template `complex`, see . +For more information on the class template `complex` and its members, see [`complex` Class](complex-class.md). ## Example @@ -105,11 +104,11 @@ arg ( c3 ) = 0.896055 radians, which is 51.3402 degrees. ## Requirements -**Header**: \ +**Header**: `` -**Namespace:** std +**Namespace:** `std` ## See also -[complex Class](../standard-library/complex-class.md)\ -[Thread Safety in the C++ Standard Library](../standard-library/thread-safety-in-the-cpp-standard-library.md) +[`complex` Class](complex-class.md)\ +[Thread Safety in the C++ Standard Library](thread-safety-in-the-cpp-standard-library.md) diff --git a/docs/standard-library/complex-float.md b/docs/standard-library/complex-float.md index d6672b4dfb..3a2537bc63 100644 --- a/docs/standard-library/complex-float.md +++ b/docs/standard-library/complex-float.md @@ -1,10 +1,9 @@ --- -description: "Learn more about: complex" title: "complex" -ms.date: "11/04/2016" +description: "Learn more about: complex" +ms.date: 11/04/2016 f1_keywords: ["complex/std::complex"] helpviewer_keywords: ["complex function"] -ms.assetid: 1178eb1e-39bd-4017-89cd-aea95f813939 --- # `complex` @@ -34,13 +33,13 @@ constexpr complex( ### Parameters -*_RealVal*\ +*`_RealVal`*\ The value of type **`float`** for the real part of the complex number being constructed. -*_ImagVal*\ +*`_ImagVal`*\ The value of type **`float`** for the imaginary part of the complex number being constructed. -*complexNum*\ +*`complexNum`*\ The complex number of type **`double`** or of type **`long double`** whose real and imaginary parts are used to initialize a complex number of type **`float`** being constructed. ## Return Value @@ -51,7 +50,7 @@ A complex number of type **`float`**. The explicit specialization of the class template complex to a complex class of type **`float`** differs from the class template only in the constructors it defines. The conversion from **`float`** to **`double`** is allowed to be implicit, but the less safe conversion from **`float`** to **`long double`** is required to be **`explicit`**. The use of **`explicit`** rules out the initiation with type conversion using assignment syntax. -For more information on the class template `complex`, see [complex Class](../standard-library/complex-class.md). For a list of members of the class template `complex`, see . +For more information on the class template `complex` and its members, see [`complex` Class](complex-class.md). ## Example @@ -111,11 +110,11 @@ arg ( c3 ) = 0.927295 radians, which is 53.1301 degrees. ## Requirements -**Header**: \ +**Header**: `` -**Namespace:** std +**Namespace:** `std` ## See also -[complex Class](../standard-library/complex-class.md)\ -[Thread Safety in the C++ Standard Library](../standard-library/thread-safety-in-the-cpp-standard-library.md) +[`complex` Class](complex-class.md)\ +[Thread Safety in the C++ Standard Library](thread-safety-in-the-cpp-standard-library.md) diff --git a/docs/standard-library/complex-long-double.md b/docs/standard-library/complex-long-double.md index b84606143b..1ef6688847 100644 --- a/docs/standard-library/complex-long-double.md +++ b/docs/standard-library/complex-long-double.md @@ -1,10 +1,9 @@ --- -description: "Learn more about: complex" title: "complex" -ms.date: "11/04/2016" +description: "Learn more about: complex" +ms.date: 11/04/2016 f1_keywords: ["std::complex", "complex", "std.complex"] helpviewer_keywords: ["complex function"] -ms.assetid: 37591991-b385-46e9-b727-d534dbc10432 --- # `complex` @@ -29,13 +28,13 @@ complex( ### Parameters -*_RealVal*\ +*`_RealVal`*\ The value of type **`long double`** for the real part of the complex number being constructed. -*_ImagVal*\ +*`_ImagVal`*\ The value of type **`long double`** for the imaginary part of the complex number being constructed. -*complexNum*\ +*`complexNum`*\ The complex number of type **`double`** or of type **`float`** whose real and imaginary parts are used to initialize a complex number of type **`long double`** being constructed. ## Return Value @@ -46,7 +45,7 @@ A complex number of type **`long double`**. The explicit specialization of the class template `complex` to a complex class of type **`long double`** differs from the class template only in the constructors it defines. The conversion from **`long double`** to **`float`** is allowed to be implicit, but the conversion from **`double`** to **`long double`** is required to be **`explicit`**. The use of **`explicit`** rules out the initiation with type conversion using assignment syntax. -For more information on the class template `complex` and its members, see [complex Class](../standard-library/complex-class.md). +For more information on the class template `complex` and its members, see [`complex` Class](complex-class.md). **Microsoft-specific**: The **`long double`** and **`double`** types have the same representation, but are distinct types. For more information, see [Built-in types](../cpp/fundamental-types-cpp.md). @@ -108,11 +107,11 @@ arg( c3 ) = 0.927295 radians, which is 53.1301 degrees. ## Requirements -**Header**: \ +**Header**: `` -**Namespace:** std +**Namespace:** `std` ## See also -[complex Class](../standard-library/complex-class.md)\ -[Thread Safety in the C++ Standard Library](../standard-library/thread-safety-in-the-cpp-standard-library.md) +[`complex` Class](complex-class.md)\ +[Thread Safety in the C++ Standard Library](thread-safety-in-the-cpp-standard-library.md)