* Needed: trunc from gnulib
@ 2011-02-13 9:22 Mark H Weaver
2011-02-13 14:05 ` Mark H Weaver
0 siblings, 1 reply; 6+ messages in thread
From: Mark H Weaver @ 2011-02-13 9:22 UTC (permalink / raw)
To: guile-devel
Hello all,
Could someone please either (A) tell me briefly what needs to be done to
import trunc from gnulib into guile properly, or better yet (B) do it
for me? I'd really appreciate it. It will make my new implementations
of scm_truncate and scm_truncate_divide much cleaner, and I don't think
I have time to research this myself before 2.0.
Best,
Mark
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Needed: trunc from gnulib
2011-02-13 9:22 Needed: trunc from gnulib Mark H Weaver
@ 2011-02-13 14:05 ` Mark H Weaver
2011-02-13 20:09 ` Andy Wingo
0 siblings, 1 reply; 6+ messages in thread
From: Mark H Weaver @ 2011-02-13 14:05 UTC (permalink / raw)
To: guile-devel
> Could someone please either (A) tell me briefly what needs to be done to
> import trunc from gnulib into guile properly, or better yet (B) do it
On second thought, there's no rush on this. I'd still like to know at
some point, but it can wait until after 2.0.
Best,
Mark
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Needed: trunc from gnulib
2011-02-13 14:05 ` Mark H Weaver
@ 2011-02-13 20:09 ` Andy Wingo
2011-02-14 12:26 ` Ludovic Courtès
0 siblings, 1 reply; 6+ messages in thread
From: Andy Wingo @ 2011-02-13 20:09 UTC (permalink / raw)
To: Mark H Weaver; +Cc: guile-devel
On Sun 13 Feb 2011 15:05, Mark H Weaver <mhw@netris.org> writes:
>> Could someone please either (A) tell me briefly what needs to be done to
>> import trunc from gnulib into guile properly, or better yet (B) do it
>
> On second thought, there's no rush on this. I'd still like to know at
> some point, but it can wait until after 2.0.
Cool. Generally Ludovic has been handling the gnulib imports. Perhaps
he can add trunc to the module list whenever he does the next import.
Regards,
Andy
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Needed: trunc from gnulib
2011-02-13 20:09 ` Andy Wingo
@ 2011-02-14 12:26 ` Ludovic Courtès
2011-02-15 9:34 ` Needed: log1p " Mark H Weaver
0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2011-02-14 12:26 UTC (permalink / raw)
To: guile-devel
Hi!
Andy Wingo <wingo@pobox.com> writes:
> Cool. Generally Ludovic has been handling the gnulib imports. Perhaps
> he can add trunc to the module list whenever he does the next import.
Done.
Ludo’.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Needed: log1p from gnulib
2011-02-14 12:26 ` Ludovic Courtès
@ 2011-02-15 9:34 ` Mark H Weaver
2011-02-15 10:31 ` Ludovic Courtès
0 siblings, 1 reply; 6+ messages in thread
From: Mark H Weaver @ 2011-02-15 9:34 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guile-devel
Hi Ludo,
I apologize for asking you again so soon, but could you possibly import
log1p from gnulib? I'm trying to implement log for exact rationals, and
I have a serious problem with catastrophic cancellation if the numerator
and denominator are close, for example (/ big (1+ big)). The only way
to do this even remotely well is to use log1p, which computes log(1+x)
and works well for small x, but unfortunately it's non-portable and
non-trivial to implement.
I'll have a patch ready in time for 2.0, but it will depend upon log1p.
If it's easy to import a couple more modules while you're at it, then
round and isfinite would also be useful.
Many thanks,
Mark
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Needed: log1p from gnulib
2011-02-15 9:34 ` Needed: log1p " Mark H Weaver
@ 2011-02-15 10:31 ` Ludovic Courtès
0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2011-02-15 10:31 UTC (permalink / raw)
To: guile-devel
Hi Mark,
Mark H Weaver <mhw@netris.org> writes:
> I apologize for asking you again so soon, but could you possibly import
> log1p from gnulib?
[...]
> If it's easy to import a couple more modules while you're at it, then
> round and isfinite would also be useful.
Done, except for ‘isfinite’, which is currently GPL. Could you mail
bug-gnulib@gnu.org and ask them to change it to LGPLv3+?
That will be for after 2.0.0, though.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-02-15 10:31 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-13 9:22 Needed: trunc from gnulib Mark H Weaver
2011-02-13 14:05 ` Mark H Weaver
2011-02-13 20:09 ` Andy Wingo
2011-02-14 12:26 ` Ludovic Courtès
2011-02-15 9:34 ` Needed: log1p " Mark H Weaver
2011-02-15 10:31 ` Ludovic Courtès
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).