diff options
author | hanrot <hanrot@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-02-24 12:32:56 +0000 |
---|---|---|
committer | hanrot <hanrot@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-02-24 12:32:56 +0000 |
commit | 76014a241d9a7e4c2372b3db3a23f00f7f630055 (patch) | |
tree | 52c2d3069478cc1bce70c955cc9ee17c972d8748 /print_raw.c | |
parent | ad3bb5fb96a080649f2373149fd17114d03ee29a (diff) | |
download | mpfr-76014a241d9a7e4c2372b3db3a23f00f7f630055.tar.gz |
Replaced NaN, Inf by @NaN@, @Inf@ [for bases > 24].
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2249 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'print_raw.c')
-rw-r--r-- | print_raw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print_raw.c b/print_raw.c index 06617fab4..4622ff764 100644 --- a/print_raw.c +++ b/print_raw.c @@ -64,9 +64,9 @@ mpfr_print_binary (mpfr_srcptr x) char *str; unsigned long alloc_size; - if (MPFR_IS_NAN(x)) printf("NaN"); + if (MPFR_IS_NAN(x)) printf("@NaN@"); else if (MPFR_IS_INF(x)) { - if (MPFR_SIGN(x) == 1) { printf("Inf"); } else printf("-Inf"); + if (MPFR_SIGN(x) == 1) { printf("@Inf@"); } else printf("-@Inf@"); } else if (!MPFR_NOTZERO(x)) { if (MPFR_SIGN(x) < 0) printf("-"); |