bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Ludovic Courtès
Subject: 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’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]