TeX source:
\min(\max(s,0),1)