commit | 41fc580a64b4cda722ed6bc350960d5c0f090311 | [log] [tgz] |
---|---|---|
author | Gavin Howard <yzena.tech@gmail.com> | Sun Jun 23 09:25:52 2019 -0600 |
committer | Gavin Howard <yzena.tech@gmail.com> | Sun Jun 23 09:25:52 2019 -0600 |
tree | b189eaeda8fdc5ba8fa65c2b898b5c76f1233a16 | |
parent | 96f3e2e604162ba1e5be4789297f68c5346b9f22 [diff] [blame] |
Make a tiny fix
diff --git a/src/num.c b/src/num.c index 44626b8..1fd6582 100644 --- a/src/num.c +++ b/src/num.c
@@ -1150,8 +1150,8 @@ s = bc_num_d_long(&cpa, &cpb, c, scale); if (BC_NO_ERR(!s)) { - bc_num_retireMul(c, scale, a->neg, b->neg); if (BC_SIG) s = BC_STATUS_SIGNAL; + else bc_num_retireMul(c, scale, a->neg, b->neg); } bc_num_free(&cpb);