PDA

Click to See Complete Forum and Search --> : Creating UInt1024 in C#


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!

DevGrp
Aug 2nd, 2002, 01:26 PM
I dont have much to say, but you might want to consider looking at the CTS.

Hope that helps

.Dev

vbzero
Aug 2nd, 2002, 01:33 PM
I've been working with the CTS information but there's no
deep level information about that.

But thanks!