2021-12-10 22:33:37 +00:00
|
|
|
#ifndef LIBFLINT_H_MATH
|
|
|
|
#define LIBFLINT_H_MATH
|
|
|
|
|
|
|
|
int max_int(int a, int b);
|
2022-03-28 17:52:16 +00:00
|
|
|
|
2021-12-10 22:33:37 +00:00
|
|
|
int min_int(int a, int b);
|
2022-03-28 17:52:16 +00:00
|
|
|
|
2022-03-21 21:32:31 +00:00
|
|
|
int clamp_int(int i, int low, int high);
|
2022-03-28 17:52:16 +00:00
|
|
|
|
2021-12-10 22:33:37 +00:00
|
|
|
int binstr_to_int(const char *s);
|
|
|
|
|
|
|
|
#endif // LIBFLINT_H_MATH
|