Scientific Calculator
Scripts tagged integer
- shiwei/Signed2unsigned
written by ryan
//This function covert an signed integer number into an unsinged //integer number. list is the input vector while width means the //width of input number; //Example: a = [-2,-1,0,1]; //Signed2unsigned(a,2); THEN return [2,3,0,1]