]>
Commit | Line | Data |
---|---|---|
8b81872f VZ |
1 | \section{\class{wxLongLong}}\label{wxlonglong} |
2 | ||
3 | This class represents a signed 64 bit long number. It is implemented using the | |
4 | native 64 bit type where available (machines with 64 bit longs or compilers | |
5 | which have (an analog of) {\it long long} type) and uses the emulation code in | |
6 | the other cases which ensures that it is the most efficient solution for | |
7 | working with 64 bit integers independently of the architecture. | |
8 | ||
9 | wxLongLong defines all usual arithmetic operations such as addition, | |
10 | substraction, bitwise shifts and logical operations as well as multiplication | |
11 | and division (not yet for the machines without native {\it long long}). It | |
12 | also has operators for implicit construction from and conversion to the native | |
13 | {\it long long} type if it exists and {\it long}. | |
14 | ||
15 | You would usually use this type in exactly the same manner as any other | |
16 | (built-in) arithmetic type. | |
22d6efa8 | 17 |