summaryrefslogtreecommitdiff
path: root/tests/texp.c
diff options
context:
space:
mode:
authorthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-04-10 08:19:24 +0000
committerthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-04-10 08:19:24 +0000
commit0c8ffbce13813797dd93e6460cb6419bb5ad0346 (patch)
tree020273a125911c9a60cf3afbc526608c8aacb313 /tests/texp.c
parentb4d54b4e2252e80de74c5c06562c05866ea538f5 (diff)
downloadmpc-0c8ffbce13813797dd93e6460cb6419bb5ad0346.tar.gz
Cosmetic changes: no tab, no trailing white spaces, and new indentation.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@93 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/texp.c')
-rw-r--r--tests/texp.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/texp.c b/tests/texp.c
index 9e824a1..75ceb0b 100644
--- a/tests/texp.c
+++ b/tests/texp.c
@@ -54,21 +54,21 @@ main()
mpc_exp (z, x, MPC_RNDNN);
mpfr_sin_cos (f, g, MPC_IM(x), GMP_RNDN);
if (mpfr_cmp (g, MPC_RE(z)) || mpfr_cmp (f, MPC_IM(z)))
- {
- fprintf (stderr, "Error in mpc_exp: exp(I*x) <> cos(x)+I*sin(x)\n"
- "got ");
- mpc_out_str (stderr, 10, 0, z, MPC_RNDNN);
- fprintf (stderr, "\nexpected ");
- mpfr_set (MPC_RE(z), g, GMP_RNDN);
- mpfr_set (MPC_IM(z), f, GMP_RNDN);
- mpc_out_str (stderr, 10, 0, z, MPC_RNDNN);
- fprintf (stderr, "\n");
- exit (1);
- }
+ {
+ fprintf (stderr, "Error in mpc_exp: exp(I*x) <> cos(x)+I*sin(x)\n"
+ "got ");
+ mpc_out_str (stderr, 10, 0, z, MPC_RNDNN);
+ fprintf (stderr, "\nexpected ");
+ mpfr_set (MPC_RE(z), g, GMP_RNDN);
+ mpfr_set (MPC_IM(z), f, GMP_RNDN);
+ mpc_out_str (stderr, 10, 0, z, MPC_RNDNN);
+ fprintf (stderr, "\n");
+ exit (1);
+ }
}
tgeneric ();
-
+
mpc_clear (x);
mpc_clear (z);
mpfr_clear (f);