Results 1 to 3 of 3

Thread: Creating UInt1024 in C#

  1. #1

    Thread Starter
    Hyperactive Member vbzero's Avatar
    Join Date
    Aug 2000
    Location
    Vienna
    Posts
    347

    Question Creating UInt1024 in C#

    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!

  2. #2
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    I dont have much to say, but you might want to consider looking at the CTS.

    Hope that helps

    .Dev

  3. #3

    Thread Starter
    Hyperactive Member vbzero's Avatar
    Join Date
    Aug 2000
    Location
    Vienna
    Posts
    347
    I've been working with the CTS information but there's no
    deep level information about that.

    But thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width