Re: [csswg-drafts] [css-values] mod(−0, +∞) and mod(+0, −∞) not handled correctly (#4723)

`mod(-0, 5)` should arguably be 5 rather than 0. Remember, -0 represents negative underflow, i.e. any real number which is less than zero but greater than the smallest otherwise representable negative number. When you map this into the range 0..5, what you should get is a number which is very slightly less than (but not possible to represent as a float less than) 5.

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

Received on Saturday, 8 February 2020 22:59:00 UTC