i know how to calculate x^n using a loop, but that doesn't work with negative exponents. how is it done with n < 0 ?

Printable View

- 03-21-2010, 11:37 AMGPBcalculating exponents
i know how to calculate x^n using a loop, but that doesn't work with negative exponents. how is it done with n < 0 ?

- 03-21-2010, 11:41 AMJosAH
- 03-21-2010, 11:44 AMGPB
Ah yeah, thanks!