MCPcopy Create free account
hub / github.com/ArashPartow/exprtk / clamp

Method clamp

exprtk_benchmark.cpp:199–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197 }
198
199 static inline T clamp(const Type l, const Type v, const Type u)
200 {
201 return ((v < l) ? l : ((v > u) ? u : v));
202 }
203
204 static inline T func00(Type x, Type y)
205 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected