Subject: bug#12241: closed (Re: bug#12241: errata in section 2.4 of Guile v2.0.6 manual)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 03 Sep 2012 20:38:02 +0000

Your bug report

#12241: errata in section 2.4 of Guile v2.0.6 manual

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
12241: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12241
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#12241: errata in section 2.4 of Guile v2.0.6 manual
From: [email-masked] (Ludovic Courtès)
To: "Kurt W. Gochko" <[email-masked]>
Cc: [email-masked]
Date: Mon, 03 Sep 2012 22:35:57 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

"Kurt W. Gochko" <[email-masked]> 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’.

Subject: errata in section 2.4 of Guile v2.0.6 manual
From: "Kurt W. Gochko" <[email-masked]>
To: [email-masked]
Date: Mon, 20 Aug 2012 14:29:06 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

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.