Firstmate commented on a Page, $powerOf() (adjusted for C++)  -  Jan 28, 2009

To acommodate for both decimals and extremely large numbers (+/- 1.7e308) I suggest using double. e.g.

    double x = 1, y = 1, inputStartNumber, inputToNumber, inputConstant;
    double * result;

I'm still learning C++ so I can't say that's the answer D:

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.