return v < 0 ? 0 : v > mx ? mx : v;
}
static inline float aclip(float v, float mx) {
return v < 0 ? 0 : v > mx ? mx : v;
}
static inline float aclip(float v, float mx) {
}
static inline float aclip(float v, int mx) {
return v < 0 ? 0 : v > mx ? mx : v;
}
static inline float aclip(float v, int mx) {
return v < 0 ? 0 : v > mx ? mx : v;