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. about BitVector32

about BitVector32

Scheduled Pinned Locked Moved C#
question
3 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.
  • S Offline
    S Offline
    Seraph_summer
    wrote on last edited by
    #1

    it seems to me that BitVector32 only supports signed integer and does not support un-signed integer, what is the reason? thanks

    H G 2 Replies Last reply
    0
    • S Seraph_summer

      it seems to me that BitVector32 only supports signed integer and does not support un-signed integer, what is the reason? thanks

      H Offline
      H Offline
      Henry Minute
      wrote on last edited by
      #2

      Seraph_summer wrote:

      it seems to me that BitVector32 only supports signed integer and does not support un-signed integer, what is the reason?

      Why does it matter? If it only supports signed ints (and I'm not sure that it is true, just can't be bothered to test it), it only supports signed ints. Use it if you can use signed ints, don't use it if you can't. At the end of the day it is a struct, write your own to use signed ints, if you need one.

      Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

      1 Reply Last reply
      0
      • S Seraph_summer

        it seems to me that BitVector32 only supports signed integer and does not support un-signed integer, what is the reason? thanks

        G Offline
        G Offline
        Guffa
        wrote on last edited by
        #3

        Becuase the signed integer is CLR compliant, and the unsigned integer is not.

        Despite everything, the person most likely to be fooling you next is yourself.

        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