--- Begin Message ---
Subject: |
errata in section 2.4 of Guile v2.0.6 manual |
Date: |
Mon, 20 Aug 2012 14:29:06 -0400 |
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.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#12241: errata in section 2.4 of Guile v2.0.6 manual |
Date: |
Mon, 03 Sep 2012 22:35:57 +0200 |
User-agent: |
Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) |
Hi,
"Kurt W. Gochko" <address@hidden> 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’.
--- End Message ---