On Thu 27 Oct 2016 14:29, ni...@lysator.liu.se (Niels Möller) writes:
> Mark H Weaver writes:
>
>> FYI, I've pushed patches to Guile's git repository (stable-2.0 branch)
>> which eliminate the known obstacles to mini-gmp integration.
>
> Hi, I'm curious if there's been any
Mark H Weaver writes:
> FYI, I've pushed patches to Guile's git repository (stable-2.0 branch)
> which eliminate the known obstacles to mini-gmp integration.
Hi, I'm curious if there's been any further progress?
Regards,
/Niels
--
Niels Möller. PGP-encrypted email is
Hi Niels,
ni...@lysator.liu.se (Niels Möller) writes:
For the small integer gcd code, you may want to have a look at the
tricks used in
http://gmplib.org:8000/gmp/file/304af17b9ccc/mpn/generic/gcd_1.c, the
code under GCD_1_METHOD == 2
1. Shift out the least significant bit of both a and b
Mark H Weaver m...@netris.org writes:
FYI, I've pushed patches to Guile's git repository (stable-2.0 branch)
which eliminate the known obstacles to mini-gmp integration.
Out of curiosity, I had a quick look at the patches as posted to the
guile devel list.
For the small integer gcd code, you
Mark H Weaver m...@netris.org skribis:
FYI, I've pushed patches to Guile's git repository (stable-2.0 branch)
which eliminate the known obstacles to mini-gmp integration.
Great, thanks! And sorry for not following more closely...
Ludo’.
Hello all,
I wrote:
I'm embarrassed to admit that the integration of mini-gmp into guile has
long been waiting on my pending numerics patches. I'll try to get going
on this (and some other things) for the 2.0.8 release.
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10519#8
I've posted a new
Hi,
A ping on this bug on getting Guile to have the possibility of using an
embedded copy of mini-gmp.
1. What is the status of mini-gmp? I understand that you use it in GMP
itself, so hopefully mini-gmp is in a good state, upstream.
2. Has anyone looked at getting mini-gmp into Gnulib?
Andy Wingo wi...@pobox.com writes:
1. What is the status of mini-gmp? I understand that you use it in GMP
itself, so hopefully mini-gmp is in a good state, upstream.
The version bundled with gmp-5.1.1 is fairly solid. The first release,
with gmp-5.1.0, had some severe bugs. Testsuite has
l...@gnu.org (Ludovic Courtès) writes:
Yes, thanks. I just tried it, and here’s the status:
- numbers.c uses ‘GMP_NUMB_BITS’, which is lacking;
If that's really needed, it can be substituted with something like
#ifndef GMP_NUMB_BITS
#include limits.h
#define GMP_NUMB_BITS
Hi,
ni...@lysator.liu.se (Niels Möller) skribis:
l...@gnu.org (Ludovic Courtès) writes:
Yes, thanks. I just tried it, and here’s the status:
- numbers.c uses ‘GMP_NUMB_BITS’, which is lacking;
If that's really needed, it can be substituted with something like
#ifndef
l...@gnu.org (Ludovic Courtès) writes:
For me/us, the best workflow would be to have a Gnulib module. That
way, whenever GMP developers fix a bug in mini-gmp, we automatically get
the fix when running “gnulib-tool --update”.
I guess you can do whatever you want in gnulib. But it should be
ni...@lysator.liu.se (Niels Möller) skribis:
l...@gnu.org (Ludovic Courtès) writes:
For me/us, the best workflow would be to have a Gnulib module. That
way, whenever GMP developers fix a bug in mini-gmp, we automatically get
the fix when running “gnulib-tool --update”.
I guess you can do
Hi Niels,
ni...@lysator.liu.se (Niels Möller) skribis:
l...@gnu.org (Ludovic Courtès) writes:
Reviving the discussion, as we’ve been discussing this at the GHM, and
some people would really like to see it happen. :-)
Great! Any summary of the discussion, for those of us who couldn't make
Hello!
Reviving the discussion, as we’ve been discussing this at the GHM, and
some people would really like to see it happen. :-)
ni...@lysator.liu.se (Niels Möller) skribis:
To try that out, I'm working with a slightly patched guile:
Do you still have the patch around?
1. The header file
Hi Mark!
Mark H Weaver m...@netris.org skribis:
ni...@lysator.liu.se (Niels Möller) writes:
2. The next problem is maybe more a nuisance than a real problem. I'm
looking at scm_i_big2dbl, in numbers.c.
I notice this code doesn't currently use mpz_get_d (comment says
that's because
l...@gnu.org (Ludovic Courtès) writes:
Reviving the discussion, as we’ve been discussing this at the GHM, and
some people would really like to see it happen. :-)
Great! Any summary of the discussion, for those of us who couldn't make
it there?
ni...@lysator.liu.se (Niels Möller) skribis:
Greets,
Thanks for working on this, Niels, and thanks for following up on it,
Mark. It's great to have such knowledgeable folk working on this
problem.
One suggestion, if it's possible: it would be great if mini-gmp could
make it to be part of gnulib at some point. That's probably the easiest
Andy Wingo wi...@pobox.com writes:
One suggestion, if it's possible: it would be great if mini-gmp could
make it to be part of gnulib at some point.
It's main home will be the GMP repo and distributions. But that doesn't
exclude that it's also copied into gnulib, if that's convenient.
BTW, I
ni...@lysator.liu.se (Niels Möller) writes:
Andy Wingo wi...@pobox.com writes:
One suggestion, if it's possible: it would be great if mini-gmp could
make it to be part of gnulib at some point.
It's main home will be the GMP repo and distributions. But that doesn't
exclude that
Mark H Weaver m...@netris.org writes:
It would be good if you could duplicate the `mp_set_memory_functions'
interface in mini-gmp.
I'm looking into this. I found that the GMP interface has one awkward
feature: The current allocation size must be passed as an argument to
the free and realloc
Hi Niels, thanks for looking into this!
ni...@lysator.liu.se (Niels Möller) writes:
2. The next problem is maybe more a nuisance than a real problem. I'm
looking at scm_i_big2dbl, in numbers.c.
I notice this code doesn't currently use mpz_get_d (comment says
that's because gmp-4.2
Mark H Weaver m...@netris.org writes:
Don't worry about this. I have a patch set that (among other things)
reimplements scm_i_big2dbl in a much more robust way, with proper
rounding, and without using such low-level GMP accessors. I posted this
patch set to guile-devel on 7 Oct, [PATCH]
Hi,
I'm hacking on something called mini-gmp (see
http://gmplib.org:8000/mini-gmp/). This is inteded to be a small and
simple implementation of a GMP subset, suitable for programs which needs
bignums, but which don't use very large numbers or very high
performance. (I aimed for mini-gmp.c to be
23 matches
Mail list logo