the initial draft of wxLongLong class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
16
docs/latex/wx/longlong.tex
Normal file
16
docs/latex/wx/longlong.tex
Normal file
@@ -0,0 +1,16 @@
|
||||
\section{\class{wxLongLong}}\label{wxlonglong}
|
||||
|
||||
This class represents a signed 64 bit long number. It is implemented using the
|
||||
native 64 bit type where available (machines with 64 bit longs or compilers
|
||||
which have (an analog of) {\it long long} type) and uses the emulation code in
|
||||
the other cases which ensures that it is the most efficient solution for
|
||||
working with 64 bit integers independently of the architecture.
|
||||
|
||||
wxLongLong defines all usual arithmetic operations such as addition,
|
||||
substraction, bitwise shifts and logical operations as well as multiplication
|
||||
and division (not yet for the machines without native {\it long long}). It
|
||||
also has operators for implicit construction from and conversion to the native
|
||||
{\it long long} type if it exists and {\it long}.
|
||||
|
||||
You would usually use this type in exactly the same manner as any other
|
||||
(built-in) arithmetic type.
|
Reference in New Issue
Block a user