Unused code

Marc Glisse marc.glisse at inria.fr
Sat Apr 14 12:25:16 CEST 2012

On Sat, 14 Apr 2012, Torbjorn Granlund wrote:

> bodrato at mail.dm.unipi.it writes:
>  Il Ven, 13 Aprile 2012 10:23 am, Torbjorn Granlund ha scritto:
>  > Are you aware if any more files or functions that are unused?
>  mpn_invert
> I think mpn_invert is used via large operand division.
> And Hydra seems to agree with me.  :-)

Division seems to use mpn_invertappr, no?

Hydra probably just sees that we test the function in 
tests/mpn/t-invert.c (it calls it 1000 times, and the function is only 
called 1000 times, so there shouldn't be any other caller).

Marc Glisse

More information about the gmp-devel mailing list