clamp

Undocumented in source. Be warned that the author may not have intended to support it.
  1. double clamp(double a, double b, double val)
  2. int clamp(int a, int b, int val)
    int
    clamp
    (
    int a
    ,
    int b
    ,
    int val
    )

Meta