reorganization

This commit is contained in:
2026-08-22 09:42:23 -06:00
parent 7692c04057
commit fe57c4390f
6 changed files with 90 additions and 62 deletions
+19
View File
@@ -0,0 +1,19 @@
#pragma once
#include <bigmath/BigMath.hpp>
namespace bigmath {
u8 add(u8* a, const u8* b, u8* c, u8 carry, u8 length);
u8 sub(u8* a, const u8* b, u8* c, u8 borrow, u8 length);
void mul_long(const u8* a, const u8* b, u8* c_high, u8* c_low, u8 length);
void mul_karatsuba(const u8* a, const u8* b, u8* c_high, u8* c_low, u8 length);
void div_long(const u8* a, const u8* b, u8* quot, u8* rem, u8 length);
void div_newtonraphson(const u8* a, const u8* b, u8* quot, u8 length);
}