vbarrielle @vbarrielle@octodon.social
Follow

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

· Web · 0 · 0