Error in documentation
Patrick Pelissier
Patrick.Pelissier at loria.fr
Wed Jun 8 13:15:51 CEST 2005
The bug isn't in the info file:
Function: double mpf_get_d_2exp (signed long int *EXP, mpf_t OP)
But the HTML is indeed buggy:
double mpf_get_d_2exp (signed long int exp, mpf_t op)
The '*' is missing for EXP.
--
Patrick Pelissier
On Wed, Jun 08, 2005 at 10:14:45 +0000, mrgrynch at comcast.net wrote:
> Am I missing something? I don't see an error.
>
> Regards,
> -Dave
>
> -------------- Original message --------------
>
> Not sure if this is the correct list to send this message to
> but here I go.
>
> I was reading the online documentation for GMP and the
> gmp.h header file at the same time and found this in the
> manual:
>
> double mpf_get_d_2exp (signed long int exp, mpf_t op)
>
> This is under Floating-point Functions->Converting Floats.
> In gmp.h I find:
>
> #define mpf_get_d_2exp __gmpf_get_d_2exp
> __GMP_DECLSPEC double mpf_get_d_2exp __GMP_PROTO ((signed long int *, mpf_srcptr));
More information about the gmp-discuss
mailing list