Sign in to follow this  
Followers 0
jchd

Mod() and Bitwise operations on 64-bit integers

3 posts in this topic

Some posts in the help forum or bug reports have shown that the 32-bit limitation on some core functions can get annoying.

Here's a simple UDF for a handful of functions built to work on native 64-bit AutoIt integers. It uses a trivial DLL (source attached) to invoke C functions.

It contains the following functions, with a short example.

_Div integer divide, _Mod integer modulus

_BitAnd, _BitOr, _BitXor, BitNot

_BitShift, _SignBitShift, _BitRotate

_HexToInt64, _Int64ToHex

addons.zip


This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Share this post


Link to post
Share on other sites



At last one right function for me!

Thank you!

With other functions for BigNum that I found the display was wrong (like 9.9997e10 etc)

(I want to convert 0x002386F26FC0FFFF and show 9999999999999999 (16 digit) )

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Aha, there is that other one I was thinking about.

Well ... now some forum newbie dragged this old topic up. I might as well link it up to that other one.

by Ward.

Edited by iEvKI3gv9Wrkd41u

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0