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 <[email protected]>
  • Loading branch information
danhoeflinger and akukanov committed Sep 4, 2024
1 parent 249e565 commit c11e3bb
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 @@ -588,7 +588,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 c11e3bb

Please sign in to comment.