From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Steve Tell Newsgroups: gmane.lisp.guile.user Subject: Re: Real predicate in C Date: Wed, 19 Jun 2002 00:47:22 -0400 (EDT) Sender: guile-user-admin@gnu.org Message-ID: References: <20020619000215.6ef2c28f.hilaire@ext.cri74.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1024462121 12396 127.0.0.1 (19 Jun 2002 04:48:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 19 Jun 2002 04:48:41 +0000 (UTC) Cc: guile-user@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17KXOa-0003Dp-00 for ; Wed, 19 Jun 2002 06:48:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17KXO1-0001ou-00; Wed, 19 Jun 2002 00:48:05 -0400 Original-Received: from dsl092-218-026.nyc1.dsl.speakeasy.net ([66.92.218.26] helo=telltronics.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17KXNO-0001nN-00 for ; Wed, 19 Jun 2002 00:47:27 -0400 Original-Received: from localhost (tell@localhost) by telltronics.org (8.9.3/8.9.3) with ESMTP id AAA00994; Wed, 19 Jun 2002 00:47:23 -0400 X-Sender: tell@ariel.lan.telltronics.org Original-To: Hilaire Fernandes In-Reply-To: <20020619000215.6ef2c28f.hilaire@ext.cri74.org> Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:614 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:614 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 (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 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