News for hackers. Stuff that matters.
Re:Math.min(Math.max(num, min), max) by chewbaxxa on Thursday August 20, 2020 @07:58PM (#24230420)
Math.min(a, x) == at_most_a(x)

Math.max(b, x) == at_least_b(x)

at_most_b(at_least_a(x))

A similar kind of thing is really common in measure theory (limsup, liminf) and option payoffs.

There are no comments on this comment yet.