2 dest="../include/memo_edc_float.h"
6 cat ./copyright > $dest
7 echo "#ifndef __MEMO_EDC_FLOAT_H__
8 #define __MEMO_EDC_FLOAT_H__
10 /* Don't modify this file manually, generate it by float.sh located in scripts directory!!! */
13 files=$(ls ../edc/ | grep "in$")
15 rpath=$(realpath ../edc/$i)
16 echo "Handling $rpath ..."
18 n=$(echo $l | awk '{print $1}')
19 f=$(echo $l | sed -r "s/^\w+\s+/scale=$scale;/" | bc | sed -r "s/^\./0./")
20 echo "#define $n $f" >> $dest
25 #endif /* __MEMO_EDC_FLOAT_H__ */