4 Star 6 Fork 7

mathlib/exprAuto

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
detectErrorTwoSingle.sh 870 Bytes
一键复制 编辑 原始数据 按行查看 历史
# Usage: ./detectErrorOneFPEDParallel.sh ${uniqueLabel} ${x0Start} ${x0End} ${x0Size} ${prefix} ${middle} ${suffix} ${errfile}
# set -x
path=`pwd`
cd ${path}
CC=gcc
uniqueLabel=${1} # unique number
if [ $# -eq 4 ]; then
suffix=${2} # different version. Eg: herbie daisy origin temp_0_3 final
x0=${3}
x1=${4}
else
echo "detectErrorTwoSingle.sh: Invalid input parameters"
exit
fi
prefix=expr_${uniqueLabel} # expr_${uniqueLabel}. Eg: expr_20221030155958
testFileName=test2paramSingle
directory="./srcTest"/${uniqueLabel}
sourceFile=${prefix}_${suffix}
${CC} ./srcTest/${testFileName}.c ${directory}/${sourceFile}.c ${directory}/${prefix}_mpfr.c ./srcTest/computeULP.c -IincludeTEST -IincludeDD -DEXPRESSION=${prefix}_ -DSUFFIX=${suffix} -Llibs -lTGen -lmpfr -lm -lqd -o ${testFileName}.exe
./${testFileName}.exe ${x0} ${x1}
rm ${testFileName}.exe
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/mathlib/expr-auto.git
git@gitee.com:mathlib/expr-auto.git
mathlib
expr-auto
exprAuto
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385