projects
/
retrobench
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
drop floating point from the main loop
[retrobench]
/
src
/
util.h
1
#ifndef UTIL_H_
2
#define UTIL_H_
3
4
extern int sinlut[];
5
6
#define SIN(x) sinlut[(x) & 0xff]
7
#define COS(x) sinlut[((x) + 64) & 0xff]
8
9
int mask_to_shift(unsigned int mask);
10
11
#endif /* UTIL_H_ */