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

Oh, sorry, I didn't mean anything by that other than a note to myself that I should probably make sure we are not running into C undefined behavior issues in WebKit. 

-- 
GitHub Notification of comment by weinig
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6107#issuecomment-805948767 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 15:59:30 UTC