Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix asciidoctor rightarrow typo #1234

Merged
merged 1 commit into from
Aug 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions OpenCL_C.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17300,15 +17300,15 @@ used in the conversions described below.
When approximate rounding is used instead of the preferred rounding, the
result of the conversion must satisfy the bound given below.

`half` {rightarrow` {CL_UNORM_INT8} (8-bit unsigned integer)
`half` {rightarrow} {CL_UNORM_INT8} (8-bit unsigned integer)

[none]
* Let f~exact~ = *max*(`0`, *min*(`f * 255`, `255`))
* Let f~preferred~ = *convert_uchar_sat_rte*(`f * 255.0f`)
* Let f~approx~ = *convert_uchar_sat_<impl-rounding-mode>*(`f * 255.0f`)
* *fabs*(f~exact~ - f~approx~) must be \<= 0.6

`half` {rightarrow` {CL_UNORM_INT_101010} (10-bit unsigned integer)
`half` {rightarrow} {CL_UNORM_INT_101010} (10-bit unsigned integer)

[none]
* Let f~exact~ = *max*(`0`, *min*(`f * 1023`, `1023`))
Expand All @@ -17317,7 +17317,7 @@ result of the conversion must satisfy the bound given below.
* Let f~approx~ = *convert_ushort_sat_<impl-rounding-mode>*(`f * 1023.0f`)
* *fabs*(f~exact~ - f~approx~) must be \<= 0.6

`half` {rightarrow` {CL_UNORM_INT16} (16-bit unsigned integer)
`half` {rightarrow} {CL_UNORM_INT16} (16-bit unsigned integer)

[none]
* Let f~exact~ = *max*(`0`, *min*(`f * 65535`, `65535`))
Expand All @@ -17326,15 +17326,15 @@ result of the conversion must satisfy the bound given below.
65535.0f`)
* *fabs*(f~exact~ - f~approx~) must be \<= 0.6

`half` {rightarrow` {CL_SNORM_INT8} (8-bit signed integer)
`half` {rightarrow} {CL_SNORM_INT8} (8-bit signed integer)

[none]
* Let f~exact~ = *max*(`-128`, *min*(`f * 127`, `127`))
* Let f~preferred~ = *convert_char_sat_rte*(`f * 127.0f`)
* Let f~approx~ = *convert_char_sat_<impl_rounding_mode>*(`f * 127.0f`)
* *fabs*(f~exact~ - f~approx~) must be \<= 0.6

`half` {rightarrow` {CL_SNORM_INT16} (16-bit signed integer)
`half` {rightarrow} {CL_SNORM_INT16} (16-bit signed integer)

[none]
* Let f~exact~ = *max*(`-32768`, *min*(`f * 32767`, `32767`))
Expand Down