comparison src/number-mp.c @ 5739:a2912073be85

Support bignums with MPIR. Add documentation on the bignum, ratio, and bigfloat implementations. See xemacs-patches message with ID <CAHCOHQkytZao7Uk9ggeo1HKKJtN1bqO054X2mPsGYyQFjbHrZA@mail.gmail.com> and following messages.
author Jerry James <james@xemacs.org>
date Wed, 19 Jun 2013 09:30:30 -0600
parents 3192994c49ca
children 574f0cded429
comparison
equal deleted inserted replaced
5738:f6af091ac654 5739:a2912073be85
621 xfree (ptr); 621 xfree (ptr);
622 } 622 }
623 #endif 623 #endif
624 624
625 void 625 void
626 init_number_mp () 626 init_number_mp (void)
627 { 627 {
628 #ifdef HAVE_MP_SET_MEMORY_FUNCTIONS 628 #ifdef HAVE_MP_SET_MEMORY_FUNCTIONS
629 mp_set_memory_functions ((void *(*) (size_t)) xmalloc, mp_realloc, mp_free); 629 mp_set_memory_functions ((void *(*) (size_t)) xmalloc, mp_realloc, mp_free);
630 #endif 630 #endif
631 631