summaryrefslogtreecommitdiff
path: root/src/sin_cos.c
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-08-30 13:10:38 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-08-30 13:10:38 +0000
commit57f281ebed3ffdaaccf39f2848e365c2b6f56443 (patch)
tree9e49c42da4b19619c677490c87ab28cc113b67d9 /src/sin_cos.c
parent3e44562a12efc66b51cd5c4c46e88c2cd2574c49 (diff)
downloadmpc-57f281ebed3ffdaaccf39f2848e365c2b6f56443.tar.gz
sin_cos.c: split out sin.c and cos.c to follow gnu coding standards:
one external function per file get.c: renamed to get_x.c get_x.c, set_x.c, set_x_x.c contain several external functions; changing this is maybe exaggerated git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1038 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'src/sin_cos.c')
-rw-r--r--src/sin_cos.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/sin_cos.c b/src/sin_cos.c
index 4525996..99a0772 100644
--- a/src/sin_cos.c
+++ b/src/sin_cos.c
@@ -1,4 +1,4 @@
-/* mpc_sin_cos, mpc_sin, mpc_cos -- sine and cosine of a complex number.
+/* mpc_sin_cos -- combined sine and cosine of a complex number.
Copyright (C) 2010, 2011 INRIA
@@ -400,17 +400,3 @@ mpc_sin_cos (mpc_ptr rop_sin, mpc_ptr rop_cos, mpc_srcptr op,
return (MPC_INEX12 (inex_sin, inex_cos));
}
}
-
-
-int
-mpc_sin (mpc_ptr rop, mpc_srcptr op, mpc_rnd_t rnd)
-{
- return MPC_INEX1 (mpc_sin_cos (rop, NULL, op, rnd, 0));
-}
-
-
-int
-mpc_cos (mpc_ptr rop, mpc_srcptr op, mpc_rnd_t rnd)
-{
- return MPC_INEX2 (mpc_sin_cos (NULL, rop, op, 0, rnd));
-}