I have code written in C# and need to convert to PL/SQL code.
Code C#:
long n1=563272302, n2=369098752;
n1 ^= 0x000000004892011bL ^ n2;
Result after operation is:
n1=2130762613
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here
http://www.oracledba.co.uk/tips/bitwise_ops.htm
you find how to add a bitwise XOR function to PL/SQL.
With this function it should be (untested):