reorganization
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user