Help for this page

Select Code to Download


  1. or download this
    use Bit::Vector;
    $v = Bit::Vector->new(8); # 8 bits
    $v->from_Dec($decimal_number);
    $msb = $v->MSB();