摘要
在C++中对整型类型进行扩展,使该种类型定义的数据在操作上不受数据范围的限制。采用的原理是面向对象技术,用字符串存放数据,运算符重载来提供运算,并将数据和操作进行封装,以标准的接口提供服务,最终用户可以像使用基本类型一样地使用它。这种类型可广泛用于计算机代数中。
The int type in C++ is expanded so that the data defined by this type will not be limited by the range. This is constructed and implemented based on object-oriented techniques: store data as string, overload the operator, encapsulate the data and operations, and provide service using standard interfaces. Eventually users can use this type as the primitive data type. This type is wildly used in computer algebra.
出处
《计算机科学》
CSCD
北大核心
2008年第1期301-302,F0003,共3页
Computer Science
关键词
面向对象技术
抽象数据类型
超长整型数
Object-oriented technique, Abstract data type(ADT), Verylong integer