Fixed: % and / were interchanged

This commit is contained in:
ceriel 1995-03-27 11:46:47 +00:00
parent d801356f1e
commit 86cb2d66d7

View file

@ -55,7 +55,7 @@ ch3bin(pval, pis_uns, oper, val, is_uns)
#endif #endif
} }
else { else {
*pval = *pval % val; *pval = *pval / val;
} }
break; break;
case '%': case '%':
@ -89,7 +89,7 @@ ch3bin(pval, pis_uns, oper, val, is_uns)
#endif #endif
} }
else { else {
*pval = *pval / val; *pval = *pval % val;
} }
break; break;
case '*': case '*':