Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Math.min(Math.max(num, min), max).
5 9 7 min max .
Defining a clamp "function" looks like this:
: clamp ( min max n -- clamped_n ) min max ;
There are no comments on this comment yet.
Defining a clamp "function" looks like this: