Definition of domain clipping tools
Marcel Sondaar
Public Domain
clampradf.c | Definition of domain clipping tools |
Functions | |
_PDCLIB_doclamppf | recursively shift x into the domain [0,clamp] |
_PDCLIB_doclampnf | recursively shift x into the domain [-clamp,0] |
_PDCLIB_clampradf | ensure x is in the range [-pi,pi], otherwise shift the domain into position |
static float _PDCLIB_doclamppf( float x, float clamp )
recursively shift x into the domain [0,clamp]
recursively shift x into the domain [0,clamp]
static float _PDCLIB_doclamppf( float x, float clamp )
recursively shift x into the domain [-clamp,0]
static float _PDCLIB_doclampnf( float x, float clamp )
ensure x is in the range [-pi,pi], otherwise shift the domain into position
float _PDCLIB_clampradf( float x )