AALanguage
The best language for those who have nothing to do
Loading...
Searching...
No Matches
Large.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
#include <vector>
5
#include <algorithm>
6
#include <sstream>
7
9
class
large
{
10
public
:
12
large
();
18
large
(std::string str);
24
large
(
long
long
value);
25
large
&
operator+=
(
const
large
& value);
26
large
&
operator-=
(
const
large
& value);
27
large
&
operator*=
(
const
large
& value);
28
large
&
operator/=
(
const
large
& value);
29
large
&
operator%=
(
const
large
& value);
30
large
operator++
(::int32_t d);
31
large
operator--
(::int32_t d);
32
large
&
operator++
();
33
large
&
operator--
();
34
large
operator-
();
35
bool
operator==
(
large
val);
36
bool
operator!=
(
large
val);
37
bool
operator<=
(
large
val);
38
bool
operator>=
(
large
val);
39
bool
operator>
(
large
val);
40
bool
operator<
(
large
val);
42
large
operator+
(
large
val);
44
large
operator-
(
large
val);
46
large
operator*
(
large
val);
48
large
operator/
(
long
long
val);
50
large
operator/
(
large
val);
51
large
operator%
(
large
val);
57
std::string
ToString
();
58
private
:
59
enum
Sign
{
Plus
,
Minus
};
60
61
std::string
num
;
62
Sign
sign
;
63
64
std::string
GetNum
();
65
large
pow
(
large
val);
66
};
D:
GitHub
AALanguage2
AALanguage
Large.h
Generated by
1.10.0