summaryrefslogtreecommitdiff
path: root/exceptions.c
diff options
context:
space:
mode:
authorpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2004-08-19 14:42:03 +0000
committerpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2004-08-19 14:42:03 +0000
commit7cecc8ebea3ddd341e9a4130a56b292b91dcc8bb (patch)
tree4cb2c211380d9c29984ace8285c8b202e0d6cb7d /exceptions.c
parente32514dc5b12cfdf8607375be1e93fa09d7c7957 (diff)
downloadmpfr-7cecc8ebea3ddd341e9a4130a56b292b91dcc8bb.tar.gz
Add new functions: mpfr_get_emin_min, mpfr_get_emax_max, mpfr_get_emin_max and
mpfr_get_emax_min. Add documentation and explanation about potential portability problem when you mpfr_set_emin and mpfr_set_emax. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2949 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'exceptions.c')
-rw-r--r--exceptions.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/exceptions.c b/exceptions.c
index 5f0febd5d..8ca0a1e48 100644
--- a/exceptions.c
+++ b/exceptions.c
@@ -50,6 +50,18 @@ mpfr_set_emin (mp_exp_t exponent)
}
}
+mp_exp_t
+mpfr_get_emin_min (void)
+{
+ return MPFR_EMIN_MIN;
+}
+
+mp_exp_t
+mpfr_get_emin_max (void)
+{
+ return MPFR_EMIN_MAX;
+}
+
#undef mpfr_get_emax
mp_exp_t
@@ -74,6 +86,18 @@ mpfr_set_emax (mp_exp_t exponent)
}
}
+mp_exp_t
+mpfr_get_emax_min ()
+{
+ return MPFR_EMAX_MIN;
+}
+mp_exp_t
+mpfr_get_emax_max ()
+{
+ return MPFR_EMAX_MAX;
+}
+
+
#undef mpfr_clear_flags
void