Loading...
Searching...
No Matches
Go to the documentation of this file.
22#ifndef CLIPM_PRIV_MATH_H
23#define CLIPM_PRIV_MATH_H
42#define clipm_priv_math_max(a, b) \
43 ((a) > (b) ? (a) : (b))
53#define clipm_priv_math_min(a, b) \
54 ((a) < (b) ? (a) : (b))
63#define clipm_priv_math_sign(in) \
83#define clipm_priv_math_round_d2i(in) \
84 ((in < 0) ? (int)(in - 0.5) : (int)(in + 0.5))