operator priority?
===

String ntohl(int i)
    {
    	int i1 = i % (256);
    	int i2 = (i %(65536))/(256);
    	int i3 = (i %(16777216))/(65536);
    	int i4 = (i)/(16777216);
    	
    	int i5 = i % (2^8);
    	int i6 = (i %(2^16))/(2^8);
    	int i7 = (i %(2^24))/(2^16);
    	int i8 = i/(2^24);
    	
    	
    	Log.d(TAG, "i:"+i+"   "+i1+"."+i2+"."+i3+"."+i4);
    	Log.d(TAG, "i:"+i+"   "+i5+"."+i6+"."+i7+"."+i8);
		return ""+i1+"."+i2+"."+i3+"."+i4;
    }


hi,

i have a method list above. it returns an ipv4 address. i've done calculation. however, i5 i6 i7 i8 is not like i1 i2 i3 i4.



