Recursive function.
#4

Quote:
Originally Posted by Zh3r0
View Post
Now to check it in main()
pawn Code:
printf("%d",  power3(2, 24));
you do know signed int32 can have a value of -2^16 to 2^16 and you're trying to calculate 2^24, right?
Reply


Messages In This Thread
Recursive function. - by Zh3r0 - 04.12.2014, 10:49
Re: Recursive function. - by Smithy - 04.12.2014, 11:21
Re: Recursive function. - by Zh3r0 - 04.12.2014, 11:33
Re: Recursive function. - by KingHual - 04.12.2014, 11:50
Re: Recursive function. - by Zh3r0 - 05.12.2014, 05:19
Re: Recursive function. - by DaTa[X] - 05.12.2014, 05:29
Re: Recursive function. - by Zh3r0 - 05.12.2014, 06:34
Re: Recursive function. - by Vince - 05.12.2014, 06:43
Re: Recursive function. - by Zh3r0 - 05.12.2014, 07:23
Re: Recursive function. - by Smithy - 05.12.2014, 08:14

Forum Jump:


Users browsing this thread: 1 Guest(s)