Big Integer Arithmetic

버전 1.2.0.0 (415 KB) 작성자: Michael Chan
Demonstrate big integer arithmetic, such as multiplication, addition, subtraction, etc.
다운로드 수: 356
업데이트 날짜: 2014/8/11

라이선스 보기

The objective is to demonstrate big integer arithmetic, such as multiplication, addition, subtraction, etc. Other utilities includes comparison of values and printing big integer values (given as integer array) as string.
main executing reference usages: usage_bigIntegerOperations.m
Sample run:
[Multiplication]:

3356846207105439564587992911895976292762589455707316583464831725207842 x 9794055690126173992377489963508068741579673734383766360427036604610424 = 32877138695579495485251882311435695545653783760411939807396746956744701303101530714509467933518447434648520155083949079304274482876839745008

[Addition]:

3356846207105439564587992911895976292762589455707316583464831725207842 + 9794055690126173992377489963508068741579673734383766360427036604610424 = 13150901897231613556965482875404045034342263190091082943891868329818266

[Subtraction]:

3356846207105439564587992911895976292762589455707316583464831725207842 - 9794055690126173992377489963508068741579673734383766360427036604610424 = -6437209483020734427789497051612092448817084278676449776962204879402582

* Caveat:
1. For reference only.

If the illustrative demo has more elegant presentation, please do not hesitate to suggest and send feedback to the author.
Email: promethevx@yahoo.com.

Thank you.

Regards,
Michael Chan JT

인용 양식

Michael Chan (2024). Big Integer Arithmetic (https://www.mathworks.com/matlabcentral/fileexchange/47497-big-integer-arithmetic), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2013b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Just for fun에 대해 자세히 알아보기
태그 태그 추가

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.2.0.0

Errata on Description within readme.txt.

1.1.0.0

Errata on Description

1.0.0.0