ht's Scheme Interpreter
1.0
a simplified scheme interpreter implementation
Main Page
Related Pages
Classes
Files
File List
File Members
rational.hpp
Go to the documentation of this file.
1
#
ifndef
__SCHEME_TYPES_RATIONAL
2
#
define
__SCHEME_TYPES_RATIONAL
3
#
include
"arch.hpp"
4
#
include
"utility/bigint.hpp"
5
6
class
RationalType
7
{
8
private
:
9
BigInt
num
,
den
;
10
void
reduce
();
11
};
12
#
endif
RationalType::reduce
void reduce()
RationalType::num
BigInt num
Definition:
rational.hpp:9
BigInt
Definition:
bigint.hpp:11
RationalType::den
BigInt den
Definition:
rational.hpp:9
RationalType
Definition:
rational.hpp:6
types
rational.hpp
Generated by
1.8.9.1