Hacker News new | ask | show | jobs
by x1f604 890 days ago
Yes, you are correct, the faster clamp is incorrect because it does not return v when v is equal to lo and hi.