diff options
author | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-02-03 14:59:39 +0000 |
---|---|---|
committer | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-02-03 14:59:39 +0000 |
commit | 322eedfed5269686a73496b2d44e0e4fdc7acd66 (patch) | |
tree | 3da132a5eac62affbe1c30484fae45db5d8d34c2 /cache.c | |
parent | dd38a571d3b1e52cad19346b0ab7ecc54b2b3f7c (diff) | |
download | mpfr-322eedfed5269686a73496b2d44e0e4fdc7acd66.tar.gz |
Change user interface for mpfr_const_pi, mpfr_const_log2 and
mpfr_const_euler. No more access to the cache itself.
Create dummy functions which call the cache, and rename old
functions to "_internal".
Internally, it doesn't change at all (You still call directly
the cache instead of the dummy function which calls the cache).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3271 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'cache.c')
-rw-r--r-- | cache.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -21,11 +21,6 @@ MA 02111-1307, USA. */ #include "mpfr-impl.h" -/* Global MPFR cache */ -MPFR_DECL_INIT_CACHE(__gmpfr_cache_const_pi, mpfr_const_pi); -MPFR_DECL_INIT_CACHE(__gmpfr_cache_const_log2, mpfr_const_log2); -MPFR_DECL_INIT_CACHE(__gmpfr_cache_const_euler, mpfr_const_euler); - void mpfr_init_cache (mpfr_cache_t cache, int (*func)(mpfr_ptr, mp_rnd_t)) { |