Operators

From FizzFuzz

Jump to: navigation, search

There are quite a few operators in FizzFuzz, many borrowed from other languages and from mathematics. The default function function of the operator will be shown here, and none that only act on specific datatypes.

Order of Operations

Below is the order of operations for all the operators, from first evaluated to last evaluated:

  1. [] · () · {} · . · :: · .. · ...
  2. ! · ~ · - · ++ · -- · * · & · $
  3. **
  4. * · / · %
  5. + · -
  6. & · | · ^
  7. >> · -> · << · <-
  8. == · != · <> · > · < · >= · <= · ~>
  9. &&
  10. ||
  11. ^^
  12. ?:
  13. , · :
  14. Assignment Operators

Operators

Personal tools