Thread
:
need help debugging
View Single Post
04-26-2007, 12:54 PM
#
4
(
permalink
)
ShadyCraig
Recruit
Join Date: Sep 2005
Location: Loughborough, England, UK
Posts: 12
according to this source pow() returns a double:
C Guide--2.7 math.h
if you really don't want to use a double then maybe you could cast the returned variable to a ULONG?
a += i+(300*(ULONG)pow(2,(i/7)));
ShadyCraig
View Public Profile
Visit ShadyCraig's homepage!
Find More Posts by ShadyCraig