Definition of domain clipping tools
Marcel Sondaar
Public Domain
clampradl.c | Definition of domain clipping tools |
Functions | |
_PDCLIB_doclamppl | recursively shift x into the domain [0,clamp] |
_PDCLIB_doclampnl | recursively shift x into the domain [-clamp,0] |
_PDCLIB_clampradl | ensure x is in the range [-pi,pi], otherwise shift the domain into position |
static long double _PDCLIB_doclamppl( long double x, long double clamp )
recursively shift x into the domain [0,clamp]
recursively shift x into the domain [0,clamp]
static long double _PDCLIB_doclamppl( long double x, long double clamp )
recursively shift x into the domain [-clamp,0]
static long double _PDCLIB_doclampnl( long double x, long double clamp )
ensure x is in the range [-pi,pi], otherwise shift the domain into position
long double _PDCLIB_clampradl( long double x )