Skip to content

Commit

Permalink
fix asciidoctor rightarrow typo (#1234)
Browse files Browse the repository at this point in the history
  • Loading branch information
bashbaug authored Aug 22, 2024
1 parent cf1c656 commit 5ad74a2
Showing 1 changed file with 5 additions and 5 deletions.
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

0 comments on commit 5ad74a2

Please sign in to comment.