Skip to content

Commit

Permalink
Reword arithmetic types sentence
Browse files Browse the repository at this point in the history
Co-authored-by: Alexey Kukanov <alexey.kukanov@intel.com>
  • Loading branch information
danhoeflinger and akukanov authored Sep 4, 2024
1 parent 8147e24 commit 69c93cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/elements/oneDPL/source/parallel_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ past the last element of the output sequence starting from ``histogram_first``.
number without rounding or truncation. An input element ``start[i]`` maps to a bin
``histogram_first[j]`` if and only if
``(first_interval_begin + j * bin_size <= start[i]) && (start[i] < first_interval_begin + (j + 1) * bin_size)``.
`ValueType` must be an arithmetic type. The value type of ``InputIt`` must be an arithmetic type.
Both `ValueType` and the value type of ``InputIt`` must be arithmetic types.

2. The elements of ``[start, end)`` are mapped into ``std::distance(boundary_start, boundary_end) - 1)``
bins defined by the values in ``[boundary_start, boundary_end)``. An input
Expand Down

0 comments on commit 69c93cf

Please sign in to comment.