bit method

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shana07
    Contributor
    • Jan 2007
    • 280

    #1

    bit method

    Sorry if my question sounds silly ..
    Code:
    int s1 = u.getLowestSetBit(); 
            int s2 = v.getLowestSetBit(); 
            int k = (s1 < s2) ? s1 : s2; 
            if (k != 0)
    What are int S1 & S2 look like? Kindly please someone share info about the bit with me....Thank you .....
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by shana07
    Sorry if my question sounds silly ..
    Code:
    int s1 = u.getLowestSetBit(); 
            int s2 = v.getLowestSetBit(); 
            int k = (s1 < s2) ? s1 : s2; 
            if (k != 0)
    What are int S1 & S2 look like?
    Who knows? Nobody knows what method 'getLowestBit() ' does and returns, no
    matter its suggestive name.

    kind regards,

    Jos

    Comment

    Working...