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: Kurt W. Gochko
Subject: bug#12241: 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.






reply via email to

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