blob: 392425c504dda98f8df75d3fae98f8565bdf0575 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef standard_h
#define standard_h
int string_equal(const char* a, const char* b);
#define fbits 9
#define mini(a_, b_) ((a_) < (b_) ? (a_) : (b_))
#define maxi(a_, b_) ((a_) > (b_) ? (a_) : (b_))
int absolute(int x);
int fsin(int t);
int fcos(int t);
int ftan(int t);
int flerp(int a, int b, int t);
int fsqrt(int v);
/* Not safe! */
int f_to_buf(int f, char* buf);
int int_to_buf(int n, char* buf);
#endif
|