This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
gavin
/
bc
Watch
2
Star
1
Fork
4
Code
Issues
0
Pull Requests
0
Releases
75
Wiki
Activity
Browse Source
Tweak bcl_divmod
This technically doesn't change the API, so I can put it into a bug fix release if necessary.
master
Gavin Howard
3 months ago
parent
cb070f46cb
commit
e9f98ad240
Signed by:
gavin
GPG Key ID:
C08038BDF280D33E
1 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
src/library.c
+ 3
- 1
src/library.c
View File
@ -709,7 +709,9 @@ err:
if
(
BC_ERR
(
vm
.
err
)
)
{
if
(
cnum
.
num
!
=
NULL
)
bc_num_free
(
&
cnum
)
;
if
(
dnum
.
num
!
=
NULL
)
bc_num_free
(
&
dnum
)
;
BC_FUNC_FOOTER
(
e
)
;
c
-
>
i
=
0
-
(
size_t
)
BCL_ERROR_INVALID_NUM
;
d
-
>
i
=
c
-
>
i
;
BC_FUNC_FOOTER
(
e
)
;
}
else
{
BC_FUNC_FOOTER
(
e
)
;
Write
Preview
Loading…
Cancel
Save