Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 6 May 2012 10:43:00 -0500
From: "jfoug" <>
To: <>
Subject: RE: OpenCL SWAP64 on 7970

If n already is a ulong, then the proper casting would be:

 ((n & ((ulong)0xff00UL)) << 24)

Another option may be:


>-----Original Message-----
>Yes. I have even tried (ulong)((n) & 0xff00UL) << 24), the result is
>also 0.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.