Loading...
Searching...
No Matches
Go to the documentation of this file.
28#ifndef CLIPM_PRIV_MATH_H
29#define CLIPM_PRIV_MATH_H
47#define clipm_priv_math_max(a, b) \
48 ((a) > (b) ? (a) : (b))
58#define clipm_priv_math_min(a, b) \
59 ((a) < (b) ? (a) : (b))
68#define clipm_priv_math_sign(in) \
88#define clipm_priv_math_round_d2i(in) \
89 ((in < 0) ? (int)(in - 0.5) : (int)(in + 0.5))