Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. A datatype/some way for 256 bit values?

A datatype/some way for 256 bit values?

Scheduled Pinned Locked Moved C#
csharpdatabasehelpquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Fang Illusion
    wrote on last edited by
    #1

    Hello! I'm kind of new to the world of C# and have a little query...Is there some way to manipulate/store/use 256 bit int/float/long so that finally a calculator for those 256 bit values can be made? I know theres the decimal datatype for 128 bits so is there a way for 256 bits too? I have got a vague idea about using a link list and that many byte nodes but are there any other means? Thanks beforehand for time and help...

    D L 2 Replies Last reply
    0
    • F Fang Illusion

      Hello! I'm kind of new to the world of C# and have a little query...Is there some way to manipulate/store/use 256 bit int/float/long so that finally a calculator for those 256 bit values can be made? I know theres the decimal datatype for 128 bits so is there a way for 256 bits too? I have got a vague idea about using a link list and that many byte nodes but are there any other means? Thanks beforehand for time and help...

      D Offline
      D Offline
      Daniel Turini
      wrote on last edited by
      #2

      I hope this helps... http://www.codeproject.com/csharp/BigInteger.asp


      Help me dominate the world - click this link and my army will grow

      F 1 Reply Last reply
      0
      • F Fang Illusion

        Hello! I'm kind of new to the world of C# and have a little query...Is there some way to manipulate/store/use 256 bit int/float/long so that finally a calculator for those 256 bit values can be made? I know theres the decimal datatype for 128 bits so is there a way for 256 bits too? I have got a vague idea about using a link list and that many byte nodes but are there any other means? Thanks beforehand for time and help...

        L Offline
        L Offline
        leppie
        wrote on last edited by
        #3

        Use a BitVector or BitArray. There really need to be better class of this. leppie::AllocCPArticle("Zee blog");
        Seen on my Campus BBS: Linux is free...coz no-one wants to pay for it.

        1 Reply Last reply
        0
        • D Daniel Turini

          I hope this helps... http://www.codeproject.com/csharp/BigInteger.asp


          Help me dominate the world - click this link and my army will grow

          F Offline
          F Offline
          Fang Illusion
          wrote on last edited by
          #4

          Thankyou I have seen/have this :)...

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups