From: Steve Tell <tell@telltronics.org>
Cc: guile-user@gnu.org
Subject: Re: Real predicate in C
Date: Wed, 19 Jun 2002 00:47:22 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.21.0206190032590.32479-100000@ariel.lan.telltronics.org> (raw)
In-Reply-To: <20020619000215.6ef2c28f.hilaire@ext.cri74.org>
On Wed, 19 Jun 2002, Hilaire Fernandes wrote:
> If the gh_real predicate does not exist, what is the proper way to implement it?
Try:
SCM_REALP(scmobj)
Unfortunately, it looks like the only way to learn this is to read
<libguile/numbers.h> (and ignore lots of implementation details).
Or just maybe my last download from http://www.glug.org/docbits/ is too
old.
Steve
> Hilaire
>
> On Sun, 9 Jun 2002 13:09:20 +0200
> Hilaire Fernandes <hilaire@ext.cri74.org> wrote:
>
> > It looks like the real? predicate is not implemented in the C interface,
> > I got the following error when trying to use it:
> >
> > drgeo_script.cc:141: implicit declaration of function `int gh_real_p(...)'
> >
> >
> > The number? one is implemented but I need to test for real number and complex.
> >
> > Any tips?
> >
> > Hilaire
> >
> > _______________________________________________
> > Guile-user mailing list
> > Guile-user@gnu.org
> > http://mail.gnu.org/mailman/listinfo/guile-user
> >
>
> _______________________________________________
> Guile-user mailing list
> Guile-user@gnu.org
> http://mail.gnu.org/mailman/listinfo/guile-user
>
--
--
Steve Tell tell@telltronics.org
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user
next prev parent reply other threads:[~2002-06-19 4:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-09 11:09 Real predicate in C Hilaire Fernandes
2002-06-18 22:02 ` Hilaire Fernandes
2002-06-19 4:47 ` Steve Tell [this message]
2002-06-19 11:41 ` Marius Vollmer
2002-10-04 18:02 ` Thien-Thi Nguyen
2002-06-19 11:30 ` Marius Vollmer
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=Pine.LNX.4.21.0206190032590.32479-100000@ariel.lan.telltronics.org \
--to=tell@telltronics.org \
--cc=guile-user@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).