unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: "Kurt W. Gochko" <kgochko@comcast.net>
To: 12241@debbugs.gnu.org
Subject: bug#12241: errata in section 2.4 of Guile v2.0.6 manual
Date: Mon, 20 Aug 2012 14:29:06 -0400	[thread overview]
Message-ID: <1345487346.5614.8.camel@nas64.localdomain> (raw)

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	other threads:[~2012-08-20 18:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-20 18:29 Kurt W. Gochko [this message]
2012-09-03 20:35 ` bug#12241: errata in section 2.4 of Guile v2.0.6 manual Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1345487346.5614.8.camel@nas64.localdomain \
    --to=kgochko@comcast.net \
    --cc=12241@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).