Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

what does this operator stands for ^=

Status
Not open for further replies.

RubyS

Newbie level 6
Joined
Sep 12, 2012
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Bangalore
Activity points
1,368
I was reading some paper regarding galios field and a snippet of code was given as shown below

for i = 0:7
for j = 0:7
result [i+j] ^= a[j] & b

in this i m not able to understand the operator "^=".Is this some reduction operator..kindly help
 

In BASIC there is a shorthand expression that goes:

result += a

In longhand it means:

result = result + a

There's a chance your code uses a similar type of shorthand.

The '^' operator normally means 'raise to the power of'.
 

I was reading some paper regarding galios field and a snippet of code was given as shown below

Code of which language?

I haven't seen for i = 0:7 in C but maybe the XOR operator is the same.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top