improve the performance of numeric's ceil()

This commit is contained in:
junhangis
2022-08-07 01:55:07 +08:00
parent a4aa854578
commit b9ee4ea543

View File

@ -5819,8 +5819,7 @@ static void ceil_var(NumericVar* var, NumericVar* result)
{
NumericVar tmp;
init_var(&tmp);
set_var_from_var(var, &tmp);
init_var_from_var(var, &tmp);
trunc_var(&tmp, 0);