Skip to content

Commit 768b400

Browse files
committed
Change font-style for "Note"
1 parent 476e021 commit 768b400

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sycl/doc/extensions/experimental/sycl_ext_oneapi_complex.asciidoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
:encoding: utf-8
1111
:lang: en
1212
:dpcpp: pass:[DPC++]
13+
:endnote: —{nbsp}end{nbsp}note
1314

1415
// Set the default source code type in this document to C++,
1516
// for syntax highlighting purposes. This is needed because
@@ -335,11 +336,12 @@ Additionally, this extension introduces support for the `real` and `imag` free
335336
functions, which returns the real and imaginary component of a number,
336337
respectively.
337338

338-
Note: The overload of the functions `real(T)` and `imag(T)` matches the
339+
[_Note:_ The overloads of the functions `real(T)` and `imag(T)` match the
339340
behavior in ISO C++ where `T` would be treated as a complex number with a zero
340341
imaginary component. This is subject to the constraint that `T` must be one of
341342
the types `float`, `double`, `sycl::half`, or evaluate to `true` for
342343
`std::is_integral`.
344+
_{endnote}_]
343345

344346
These functions are available in both host and device code, and each math
345347
function should follow the C++ standard for handling `NaN` and `Inf` values.

0 commit comments

Comments
 (0)