|
dejavu
Fast probabilistic symmetry detection.
|
Stores big numbers. More...
#include <utility.h>
Public Member Functions | |
| void | set (long double set_mantissa, int set_exponent) |
| void | multiply (int number) |
| void | multiply (big_number number) |
| void | multiply (long double other_mantissa, int other_exponent) |
Public Attributes | |
| long double | mantissa = 1.0 |
| int | exponent = 0 |
Friends | |
| bool | operator< (const big_number &l, const big_number &r) |
| bool | operator== (const big_number &l, const big_number &r) |
Stores big numbers.
A simple class to store big, positive numbers. Consists of a mantissa and a exponent, where the value of the number is mantissa^exponent.
Used to store automorphism group sizes.
|
inline |
Multiply a number to this big_number.
| number | The number to multiply. |
|
inline |
Multiply a number to this big_number.
| number | The number to multiply. |
|
inline |
Multiply a number consisting of a mantissa (other_mantissa) and exponent (other_exponent) to this big_number.
| other_mantissa | Mantissa of number to multiply. |
| other_exponent | Exponent of number to multiply. |
|
inline |
|
friend |
|
friend |
| int dejavu::big_number::exponent = 0 |
| long double dejavu::big_number::mantissa = 1.0 |