GNU bug report logs - #12241
errata in section 2.4 of Guile v2.0.6 manual

Previous Next

Package: guile;

Reported by: "Kurt W. Gochko" <kgochko <at> comcast.net>

Date: Mon, 20 Aug 2012 18:34:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #10 received at 12241-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: "Kurt W. Gochko" <kgochko <at> comcast.net>
Cc: 12241-done <at> debbugs.gnu.org
Subject: Re: bug#12241: errata in section 2.4 of Guile v2.0.6 manual
Date: Mon, 03 Sep 2012 22:35:57 +0200
Hi,

"Kurt W. Gochko" <kgochko <at> comcast.net> skribis:

> The function j0_wrapper() in section 2.4 Writing Guile Extensions of
> version 2.0.6 of the Guile Reference manual is incorrect.
> 	return scm_make_real (j0 (scm_num2dbl (x, "j0")));
> should instead be
> 	return scm_from_double (j0 (scm_to_double (x)));
> Note that the correct function can be found in section 5.3.1
> A Simple Guile Extension.

Indeed.  Fixed, thanks!

Ludo’.




This bug report was last modified 12 years and 341 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.