64 bit shifting
Chris Jones
cjones at daz3d.com
Fri Feb 18 10:34:14 CST 2011
To clarify what I am trying to do. I have a table with 3 main columns
ULong fldHighID;
ULong fldLowID;
ULongLong fldCompleteID;
fldCompleteID is defined as a calculated field with the expression
"(highID<<32) + lowID", it is set to be indexed and unique. However, when I
do the select "Select fldCompleteID FROM tblSample", I get a result that is
equal to "Select fldLowID FROM tblSample". The fldHighID shift in the
expression for fldCompleteID seems to be done as if it were 32 bit. Is
there a way to force a 64 bit calculation?
--Christopher Jones
On Thu, Feb 17, 2011 at 6:26 PM, Chris Jones <cjones at daz3d.com> wrote:
> Hi all,
>
> Is there a way to make a valentina method field do its bit shifting in 64
> bit, I would like to do the following in a method field:
>
> "(fieldLongField1<<32) + fldLongField2"
>
> When I attempt this the first field becomes zero which indicates to me that
> it is being done with 32 bit integers. Is there a way to change this?
>
> --Christopher Jones
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macserve.net/pipermail/valentina/attachments/20110218/a20d9848/attachment.htm>
More information about the Valentina
mailing list