aboutsummaryrefslogtreecommitdiff
path: root/BigInt.c
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2026-05-28 16:09:10 +0300
committerSyndamia <kamen@syndamia.com>2026-07-12 09:14:06 +0300
commit7d15a8963811ee4141a824de7cd7494132cb2d3e (patch)
tree4beb97f8dd33ba1ce56fcb05b38a0428d1bead97 /BigInt.c
parent5ada8e81f9ba039da2469ba694a9b6f5a91a8c87 (diff)
downloadfoollib-7d15a8963811ee4141a824de7cd7494132cb2d3e.tar
foollib-7d15a8963811ee4141a824de7cd7494132cb2d3e.tar.gz
foollib-7d15a8963811ee4141a824de7cd7494132cb2d3e.zip
feat: Remove newX functions
Diffstat (limited to 'BigInt.c')
-rw-r--r--BigInt.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/BigInt.c b/BigInt.c
index fe0eedf..e9f6565 100644
--- a/BigInt.c
+++ b/BigInt.c
@@ -141,32 +141,6 @@ B_dup(MemoryManager *mm, const BigInt bigint) {
return start;
}
-BigInt
-B_newsum(MemoryManager *mm, BigInt a, BigInt b) {
- BigInt total = B_dup(mm, a);
-
- if (NULL == total ||
- R_Ok != B_sum(&total, b))
- {
- return NULL;
- }
-
- return total;
-}
-
-BigInt
-B_newsub(MemoryManager *mm, BigInt a, BigInt b) {
- BigInt total = B_dup(mm, a);
-
- if (NULL == total ||
- R_Ok != B_sub(&total, b))
- {
- return NULL;
- }
-
- return total;
-}
-
/* Free */
Result