xpressn.c, use fabs()

This commit is contained in:
rlar 2014-05-22 19:03:08 +02:00
parent d17c0d7813
commit 4abb068405
1 changed files with 1 additions and 1 deletions

View File

@ -983,7 +983,7 @@ operate(char op, double x, double y)
x = x - y * t;
break;
case '\\': /* / */
x = (double)(np_trunc(absf(x / y)));
x = (double)(np_trunc(fabs(x / y)));
break;
}