http://www.perlmonks.org?node_id=1205671


in reply to Re: hexadecimal division
in thread hexadecimal division

Apologies for not being clear. IN the last part: The first part (xor-ing) worked fine, as the result was 0x05, It is the next part, the division or 0x05 by 0x10 that failed as the result was 0x30 not 0x00. To me that is off because the int of 5 / 16 is 0 (the API says X`00`)