ClampFloat64 Data Member Function

Clamps the source value to the range specified by the floor and ceiling values.

Prototype

static float64 ClampFloat64( float64 src, float64 floor, float64 ceiling )

Parameters

Parameter Type Parameter Name Documentation
float64srcThe source value.
float64floorThe minimum value.
float64ceilingThe maximum value.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Simdify Scripting Language code base.