diff --git a/ext/cl_khr_fp16.asciidoc b/ext/cl_khr_fp16.asciidoc index 26127452..58a42f92 100644 --- a/ext/cl_khr_fp16.asciidoc +++ b/ext/cl_khr_fp16.asciidoc @@ -1827,12 +1827,12 @@ These conversions are performed as follows: `CL_SNORM_INT8` (8-bit signed integer) {rightarrow} `half` [none] -* normalized `half` value = `max(-1.0f, round_to_half(c / 127))` +* normalized `half` value = `max(-1.0h, round_to_half(c / 127))` `CL_SNORM_INT16` (16-bit signed integer) {rightarrow} `half` [none] -* normalized `half` value = `max(-1.0f, round_to_half(c / 32767))` +* normalized `half` value = `max(-1.0h, round_to_half(c / 32767))` The accuracy of the above conversions must be \<= 1.5 ulp except for the following cases. @@ -1858,7 +1858,7 @@ For `CL_UNORM_INT16` For `CL_SNORM_INT8` [none] -* -128 and -127 must convert to `-1.0j`, +* -128 and -127 must convert to `-1.0h`, * 0 must convert to `0.0h` and * 127 must convert to `1.0h`