summaryrefslogtreecommitdiff
path: root/tests/tmodf.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2009-09-18 10:38:19 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2009-09-18 10:38:19 +0000
commit03628de7db52919ac197c33c2f259bb210970eb2 (patch)
tree8c298b72704ce9b5da0d3d0e0578f16fc9abc100 /tests/tmodf.c
parent834034534308f9daeea4a248f15ccf6fd1771323 (diff)
downloadmpfr-03628de7db52919ac197c33c2f259bb210970eb2.tar.gz
tests/tmodf.c: typo in error message.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6451 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tmodf.c')
-rw-r--r--tests/tmodf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tmodf.c b/tests/tmodf.c
index 21ca26604..223042afc 100644
--- a/tests/tmodf.c
+++ b/tests/tmodf.c
@@ -42,7 +42,7 @@ check (const char *xis, const char *xfs, const char *xs,
inexact = mpfr_modf (xi, xf, x, rnd_mode);
if (mpfr_cmp_str1 (xi, xis))
{
- printf ("mpfr_mof failed for x=%s, rnd=%s\n",
+ printf ("mpfr_modf failed for x=%s, rnd=%s\n",
xs, mpfr_print_rnd_mode(rnd_mode));
printf ("got integer value: ");
mpfr_out_str (stdout, 10, 0, xi, MPFR_RNDN);
@@ -51,7 +51,7 @@ check (const char *xis, const char *xfs, const char *xs,
}
if (mpfr_cmp_str1 (xf, xfs))
{
- printf ("mpfr_mof failed for x=%s, rnd=%s\n",
+ printf ("mpfr_modf failed for x=%s, rnd=%s\n",
xs, mpfr_print_rnd_mode(rnd_mode));
printf ("got fractional value: ");
mpfr_out_str (stdout, 10, 0, xf, MPFR_RNDN);
@@ -60,7 +60,7 @@ check (const char *xis, const char *xfs, const char *xs,
}
if (inexact != expected_return)
{
- printf ("mpfr_mof failed for x=%s, rnd=%s\n",
+ printf ("mpfr_modf failed for x=%s, rnd=%s\n",
xs, mpfr_print_rnd_mode(rnd_mode));
printf ("got return value: %d, expected %d\n", inexact, expected_return);
exit (1);