real roots, powers
phoemix at harmless.hu
Wed Dec 28 18:06:03 CET 2005
i've started using GMP for some arithmetic functions for an applications.
i'm mostly working with integer arithmetics.
my questions is, how can an integere number be raised to a not-integer power?
like n^x, where n is an integer, x is a real number, like 1.2 or 0.7
also, how can i get a real root of a number? root(n,x) where x is real, n is integer
(on real here, i mean floating-point numbers)
mailto: gergely.czuczy at harmless.hu
Weenies test. Geniuses solve problems that arise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://gmplib.org/list-archives/gmp-discuss/attachments/20051228/f9b5183d/attachment.bin
More information about the gmp-discuss