Re: [csswg-drafts] [css-color-4] Two small corrections for raytrace gamut mapping pseudocode (#14029)

It's worth noting that another correction is that the threshold should be `if abs(d) > 1E-12)` also use a threshold of `1e-6` for 32 bit unit types and `1e-12` for 64 bit unit types.

This same logic should probably apply here as well. I try to make a PR to update all of this.

32 bit:
```
let low be 0.0 + 1E-6
let high be 1.0 - 1E-6
```

64 bit:
```
let low be 0.0 + 1E-12
let high be 1.0 - 1E-12
```

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


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

Received on Monday, 22 June 2026 15:26:09 UTC