Hacker News new | ask | show | jobs
by bqmjjx0kac 257 days ago
As demonstrated in the article, you can compute clamp(x, min, max) with straight-line code.