Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Potencies high potencies
#4
(10-07-2024, 10:20 PM)Kernelpanic Wrote: 4^4 = 256, that's clear. But from what I've read, ((5^4)^4) should be equal to 5^(4*4). That's how the MS calculator shows it.
So that should be mathematically correct.
You are correct that ((5^4)^4) is the same as 5^16.  I think your issue is dimensioning the "sum" variables as long (or unsigned long).  The result of 5^16 is much larger than can be represented by a long, I think.  Try without dimensioning as unsigned long.
Reply


Messages In This Thread
Potencies high potencies - by Kernelpanic - 10-07-2024, 09:21 PM
RE: Potencies high potencies - by bplus - 10-07-2024, 09:51 PM
RE: Potencies high potencies - by Kernelpanic - 10-07-2024, 10:20 PM
RE: Potencies high potencies - by LEM - 10-07-2024, 10:38 PM
RE: Potencies high potencies - by Kernelpanic - 10-08-2024, 01:34 PM



Users browsing this thread: 3 Guest(s)