Calculations

Torbjorn Granlund tege at swox.com
Tue Aug 24 23:19:43 CEST 2004


Piotr Wyderski <Piotr.Wyderski at ii.uni.wroc.pl> writes:

  given floating-point a,b,x,
  how to compute a^x and a mod b using GMP?
  
There is no support for that operation in GMP's mpf layer.
You might want to use mpfr if you need multi-precision
arithmetic for this operation.

-- 
Torbjörn


More information about the gmp-discuss mailing list