5 # We don't import copysign finite, fpclassify, isinf, isnan, and signbit
6 # since our own versions are nicer and just as correct and fast (except
7 # perhaps that they don't handle non-finite arguments well?).
9 # Also, leave out cabs for now since it doesn't seem overridable in
16 # $2 = source file-name
17 # $3 = destination file-name
18 echo "Importing $1 from $2 -> $3"
19 awk -f import_file.
awk FUNC
=$1 $2 > $3
24 # $2 = source file-name
25 # $3 = destination file-name
26 echo "Importing $1 from $2 -> $3"
27 awk -f import_file.
awk LICENSE_ONLY
=y
$2 > $3
31 while read func_pattern src_file dst_file
; do
32 if [ "$(expr $src_file : '.*\(c\)$')" = "c" ]; then
33 import_c
"$func_pattern" "$src_file" "$dst_file"
35 import_s
"$func_pattern" "$src_file" "$dst_file"
40 .
/gen_import_file_list
$libm_dir > import_file_list
42 do_imports
< import_file_list