Re: [csswg-drafts] [css-color] Add OKLab, OKLCH (#6642)

It does seem like it gives some negative, nearly zero values:

```py
>>> Color('blue').convert('oklab').convert('srgb')[:]
[-1.4344081478157022e-15, 0.0, 0.9999999999999999, 1.0]
```

I'd be interested to see the original float 64 values and see how well it all calculates with and without rational numbers. Just having float 64 may make a huge difference. I sometimes find that when using rational numbers, unless all the bits in your system are using rational numbers, you can have stuff like this happen.

-- 
GitHub Notification of comment by facelessuser
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6642#issuecomment-1490976573 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 30 March 2023 21:19:15 UTC