vbzero
Aug 2nd, 2002, 12:42 PM
I'm defining a new uint type in C# called UInt1024.
This represents a 1024-bit unsigned integer.
I've already done all implicit and explicit operator
overloads and also all possible logical operator
overloads.
So my type is able to stylecast from e.g. long, int, short,
or whatever.
Last problem:
Any idea how to map a 1024-bit integer format?
I know the System.Int32 has got a 32-bit register
and the System.Int64 has got two 32-bit registers.
I only want to know how to implement such a register
because I didn't have done this before.
Any ideas or suggestions?
thx!
This represents a 1024-bit unsigned integer.
I've already done all implicit and explicit operator
overloads and also all possible logical operator
overloads.
So my type is able to stylecast from e.g. long, int, short,
or whatever.
Last problem:
Any idea how to map a 1024-bit integer format?
I know the System.Int32 has got a 32-bit register
and the System.Int64 has got two 32-bit registers.
I only want to know how to implement such a register
because I didn't have done this before.
Any ideas or suggestions?
thx!