Re: [csswg-drafts] [css-color-4] Achromatic colors converted to hue-ish spaces should treat hue as "missing", not NaN (#6107)

> We are probably getting lucky and the implementation of atan2() we are using seems to return 0 when both arguments are 0

When they are _exactly_ 0, yes. The issue is when *a* and *b* are supposed to both be zero but are actually like 0.00000005 and -0.0000003 and you get a meaningless, effectively random  hue angle of -80.537

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


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

Received on Wednesday, 24 March 2021 02:39:44 UTC