首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C/C++/VC++ > 一个C++实现BigInteger

一个C++实现BigInteger

  • 资源大小:1.92 MB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: biginteger 一个 实现

资 源 简 介

2 classes , basic_large_int(unsigned) and large_int(signed) are implemented in the library. Just include "large_int.h" to use them. To compile it , modify the "Makefile". The file application.cpp is the sample to use the library. Basic_large_int is considered as "unsigned" large_int . Operators(+,-,*,/,+=,-=,*=,/=,>,<,==,!=,>=,<=,<<,>>) are reloaded. Operators(%,%=) are still experimental. The %operator of signed large-int is defined as the absolute value of Mod.And sign is defined the same as multiplication. The feature "large ary" is still experimental . It can make large-int faster.Use it at your own risk. If you find bugs , please contact Lynx Thanks Icyblade who tested it and reported bugs to me. 大数的C++库。做了两个类:basic_large_int 和 large_int。前者是无符号整数。 直接#include "large_int.h",并和large_int.o一起编译即可

文 件 列 表

large-int
lgpl.txt
.svn
large_int.o
large_int.cpp
Makefile
application.cpp
large_int.h

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.196988s