projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
moved firmext code into the backend dir
[libfirm]
/
ir
/
be
/
grgen
/
auxilary.c
1
#include "auxilary_t.h"
2
3
4
5
double _ext_grs_ln2;
6
double _ext_grs_log_table[_ext_grs_MAX_LOG];
7
8
void _ext_grs_log_table_init(void)
9
{
10
int i;
11
_ext_grs_ln2 = log(2.0);
12
for (i=1; i < _ext_grs_MAX_LOG; i++) {
13
_ext_grs_log_table[i] = log((double)i) / _ext_grs_ln2;
14
}
15
}