Files
libflint/include/lfmath.h
Evan Burkey 04e4d07e99
All checks were successful
Test and Deploy / test (push) Successful in 12s
Test and Deploy / docs (push) Has been skipped
wip
2024-05-06 12:17:13 -07:00

24 lines
444 B
C

#ifndef LIBFLINT_H_MATH
#define LIBFLINT_H_MATH
#include "lfutility.h"
int max_int(int a, int b);
int min_int(int a, int b);
int clamp_int(int i, int low, int high);
int binstr_to_int(const char *s);
Point *bresenham(int x0, int y0, int x1, int y1, size_t *sz);
Point *bresenham_p(Point p1, Point p2, size_t *sz);
int compar_int(const void *a, const void *b);
int compar_char(const void *a, const void *b);
#endif // LIBFLINT_H_MATH