math.h

merentha_fluffos_v2/lib/include/math.h · 184 B

From the archive merentha_fluffos_v2.zip

Download the archive   « Back to the archive contents

#ifndef __MATH_H__
#define __MATH_H__

#define MIN(a,b,c,d) (a<=b&&a<=c&&a<=d?a:(b<=c&&b<=d?b:(c<=d?c:d)))
#define MAX(a,b,c,d) (a>=b&&a>=c&&a>=d?a:(b>=c&&b>=d?b:(c>=d?c:d)))

#endif

Site Stats

Snippets: 1791
Codebases: 571