acsicuib / YAFS

Yet Another Fog Simulator (YAFS)
MIT License
101 stars 73 forks source link

Change xor operator to power operator #52

Closed jenspets closed 2 years ago

jenspets commented 3 years ago

The ^-operator is bitwise xor in python, but is used as a power operator in the example code (e.g. 2000*10^6).

This pull request changes to the proper power operator for all instructions and IPT assignments. It only affects the examples, not the core library.