version 1.1.1.2, 2000/09/09 14:13:10 |
version 1.1.1.3, 2003/08/25 16:06:35 |
|
|
FUNCTION WILL CHANGE OR DISAPPEAR IN A FUTURE GNU MP RELEASE. |
FUNCTION WILL CHANGE OR DISAPPEAR IN A FUTURE GNU MP RELEASE. |
|
|
|
|
Copyright (C) 1993, 1994, 1995, 2000 Free Software Foundation, Inc. |
Copyright 1993, 1994, 1995, 2000, 2001 Free Software Foundation, Inc. |
|
|
This file is part of the GNU MP Library. |
This file is part of the GNU MP Library. |
|
|
Line 25 the Free Software Foundation, Inc., 59 Temple Place - |
|
Line 25 the Free Software Foundation, Inc., 59 Temple Place - |
|
MA 02111-1307, USA. */ |
MA 02111-1307, USA. */ |
|
|
#include <stdio.h> |
#include <stdio.h> |
|
#include <string.h> /* for strlen */ |
#include "gmp.h" |
#include "gmp.h" |
#include "gmp-impl.h" |
#include "gmp-impl.h" |
|
|
void |
void |
#if __STDC__ |
|
mpf_dump (mpf_srcptr u) |
mpf_dump (mpf_srcptr u) |
#else |
|
mpf_dump (u) |
|
mpf_srcptr u; |
|
#endif |
|
{ |
{ |
mp_exp_t exp; |
mp_exp_t exp; |
char *str; |
char *str; |
|
|
printf ("-0.%se%ld\n", str + 1, exp); |
printf ("-0.%se%ld\n", str + 1, exp); |
else |
else |
printf ("0.%se%ld\n", str, exp); |
printf ("0.%se%ld\n", str, exp); |
(*_mp_free_func) (str, 0);/* ??? broken alloc interface, pass what size ??? */ |
(*__gmp_free_func) (str, strlen (str) + 1); |
} |
} |