use powl()

On Mon, Mar 26, 2012 at 4:39 PM, shady <[email protected]> wrote:

> Hi,
>  i am using pow() function in C++ to calculate square of 999999937, but to
> my amazement it is giving one less than actual value. Since it returns
> double, i am adding 10e-5 to get the correct value, but still no
> improvement. Any idea ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
Regards,
Arpit Sood

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to