meta-for float in float, double { static float clampZeroToOne(float x) { ret x < 0 ? 0 : x > 1 ? 1 : x; } }