vbarrielle is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

C++/floating point trivia; what's the difference between:
float x_clamped = x >= max ? max : x;
and
float x_clamped_ = x < max ? x : max;
?

vbarrielle @vbarrielle

Answer Show more

· Web · 0 · 0