Skip to content

Unsigned arithmetic boolean and shifting operations for VB.Integer, VB.Long and VB.Currency

License

Notifications You must be signed in to change notification settings

OlimilO1402/Asm_Unsigned

Repository files navigation

Asm_Unsigned

Unsigned arithmetic, boolean and shifting operations for VB using VB.Integer, VB.Long, VB.Currency and VB.Decimal

GitHub GitHub release (latest by date) Github All Releases GitHub followers

Project started in january 2022.
Except for the datatype Byte, VB does not have any other intrinsic unsigned datatypes.
This is a dll in asm with some functions to do arithmetic, boolean and shifting operations on UInt16, UInt32 and UInt64 using VB.Integer, VB.Long, VB.Currency and VB.Decimal just as if they were unsigned.

the function UInt64_Mul will take 2 Currency-Variables (As UInt64) and the result will be returned in a Decimal. Decimal is a Variant, and as such it consumes 128-Bits of memory, but in total it has a precision of 96-Bit in Visual Basic 6. This is more than what you have in other languages.

If you want to compile the project you need the following repos:

<AppName> Image