fix warnings in M4

This commit is contained in:
lyon 2022-01-15 22:19:58 +08:00
parent 56bf2fb32f
commit 9fd48577e4
15 changed files with 5 additions and 3 deletions

0
port/linux/api-make-linux.sh Normal file → Executable file
View File

0
port/linux/api-make-win10.sh Normal file → Executable file
View File

0
port/linux/api-make.sh Normal file → Executable file
View File

0
port/linux/ci_benchmark.sh Normal file → Executable file
View File

0
port/linux/gtest.sh Normal file → Executable file
View File

0
port/linux/init.sh Normal file → Executable file
View File

0
port/linux/install_dependency.sh Normal file → Executable file
View File

0
port/linux/make.sh Normal file → Executable file
View File

0
port/linux/pkg-push.sh Normal file → Executable file
View File

0
port/linux/pull-core.sh Normal file → Executable file
View File

0
port/linux/push-core.sh Normal file → Executable file
View File

0
port/linux/run.sh Normal file → Executable file
View File

0
port/linux/test-banchmark.sh Normal file → Executable file
View File

0
port/linux/update-compiler.sh Normal file → Executable file
View File

View File

@ -370,13 +370,15 @@ static Arg* VM_instruction_handler_OPT(PikaObj* self,
goto OPT_exit;
}
/* default: int and float */
outArg = arg_setInt(outArg, "",
(num1_f - num2_f) * (num1_f - num2_f) < 0.000001);
outArg =
arg_setInt(outArg, "",
(num1_f - num2_f) * (num1_f - num2_f) < (float)0.000001);
goto OPT_exit;
}
if (strEqu("!=", data)) {
outArg = arg_setInt(
outArg, "", !((num1_f - num2_f) * (num1_f - num2_f) < 0.000001));
outArg, "",
!((num1_f - num2_f) * (num1_f - num2_f) < (float)0.000001));
goto OPT_exit;
}
if (strEqu(">=", data)) {