/* Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely.  */
static float clip3(float x, float y, float z)
/* Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely.  */
static float clip3(float x, float y, float z)
{
    return ((z < x) ? x : ((z > y) ? y : z));
}