2018-08-17 01:13:21 -07:00
|
|
|
#pragma once
|
|
|
|
#include <mpfr.h>
|
|
|
|
#include <string>
|
|
|
|
#include "config.hpp"
|
|
|
|
|
|
|
|
struct string {
|
|
|
|
std::string value;
|
2018-08-17 01:34:58 -07:00
|
|
|
string(std::string&& new_value);
|
|
|
|
string(const std::string& new_value);
|
2018-08-17 01:13:21 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
struct number {
|
|
|
|
mpfr_t value;
|
2018-08-17 01:34:58 -07:00
|
|
|
number(const char* new_value);
|
|
|
|
number(mpfr_t&& new_value);
|
|
|
|
int to_int();
|
|
|
|
~number();
|
2018-08-17 01:13:21 -07:00
|
|
|
};
|
|
|
|
|