### ImageMagick version

7.1.1-15 Q16-HDRI

### Operating system

Windows

### Operating system, version and so on

Windows 11

### Description

The accelerated version of "`-function Polynomial`" is badly inaccurate.


### Steps to Reproduce

For example, "`-function Polynomial 1,0`" should not change values, but:
```
D:\temp>set MAGICK_OCL_DEVICE=false

D:\temp>%IMG7%magick xc:sRGB(10%,20%,30%) -function Polynomial 1,0 txt:
# ImageMagick pixel enumeration: 1,1,0,65535,srgb
0,0: (6554,13107,19661)  #199A33334CCD  srgb(10%,20%,30%)  <== CORRECT

D:\temp>set MAGICK_OCL_DEVICE=true

D:\temp>%IMG7%magick xc:sRGB(10%,20%,30%) -function Polynomial 1,0 txt:
# ImageMagick pixel enumeration: 1,1,0,65535,srgb
0,0: (6442,12885,19327)  #192A32554B7F  srgb(9.83025%,19.6605%,29.4907%)  <== WRONG
```


### Images

_No response_
OpenCL -function Polynomial is bad
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : OpenCL -function Polynomial is bad
Issue date:

--- start body ---
### ImageMagick version

7.1.1-15 Q16-HDRI

### Operating system

Windows

### Operating system, version and so on

Windows 11

### Description

The accelerated version of "`-function Polynomial`" is badly inaccurate.


### Steps to Reproduce

For example, "`-function Polynomial 1,0`" should not change values, but:
```
D:\temp>set MAGICK_OCL_DEVICE=false

D:\temp>%IMG7%magick xc:sRGB(10%,20%,30%) -function Polynomial 1,0 txt:
# ImageMagick pixel enumeration: 1,1,0,65535,srgb
0,0: (6554,13107,19661)  #199A33334CCD  srgb(10%,20%,30%)  <== CORRECT

D:\temp>set MAGICK_OCL_DEVICE=true

D:\temp>%IMG7%magick xc:sRGB(10%,20%,30%) -function Polynomial 1,0 txt:
# ImageMagick pixel enumeration: 1,1,0,65535,srgb
0,0: (6442,12885,19327)  #192A32554B7F  srgb(9.83025%,19.6605%,29.4907%)  <== WRONG
```


### Images

_No response_
--- end body ---
