0

I was using eclipse recently, trying to make a scientific calculator that performs specific functions when I tried exploring how to put a number to a specific power. As I was exploring how to perform that function, I attempted to write the power in calculator notation (ex. 5^6). When I did this, I received a strange answer that I was not expecting. I tried plugging in different numbers and became even more confused.

What does the carrot (^) do in eclipse? I would like to know its function simply for reference in case I would like to use it at another time.

JKristol
  • 1
  • 4
  • 1
    assuming you are talking about Java: http://stackoverflow.com/q/1991380/1169798 – Sirko Jun 06 '16 at 15:37
  • I'm sorry, but that doesn't help me very much. I'm not sure I understand exactly what that function means. – JKristol Jun 06 '16 at 15:39
  • `^` is the XOR operator in Java. Or are you using another programming language inside eclipse? – Krease Jun 06 '16 at 15:41
  • I understand that much, but what I don't know is what that means. The explanation is a bit advanced for me. – JKristol Jun 06 '16 at 15:41
  • Do some further research on it - there are a lot of simplified examples around the web, which will be easier to find now that you know what term you are looking for. – Krease Jun 06 '16 at 15:44

0 Answers0