diff options
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h index 55e98f2..ab551e9 100644 --- a/src/utils.h +++ b/src/utils.h @@ -33,5 +33,7 @@ extern void chomp(char *s); #define rad2deg(a) ((a)*180/M_PI) #define deg2rad(a) ((a)*M_PI/180) +#define is_odd(a) ((a)%2==1) + #endif /* UTILS_H */ |