From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.bugs Subject: Re: 1.8.0: C++-style cast Date: Wed, 12 Jul 2006 19:13:23 -0700 (PDT) Message-ID: <20060713021323.78321.qmail@web37914.mail.mud.yahoo.com> References: <874pxmmg0e.fsf@zip.com.au> Reply-To: spikegran@earthlink.net NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1152756823 8227 80.91.229.2 (13 Jul 2006 02:13:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Jul 2006 02:13:43 +0000 (UTC) Cc: bug-guile@gnu.org, "John W. Eaton" Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Jul 13 04:13:35 2006 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G0qho-0005kB-Hb for guile-bugs@m.gmane.org; Thu, 13 Jul 2006 04:13:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G0qhn-0006mz-Ap for guile-bugs@m.gmane.org; Wed, 12 Jul 2006 22:13:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G0qhj-0006mn-PY for bug-guile@gnu.org; Wed, 12 Jul 2006 22:13:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G0qhg-0006mM-6R for bug-guile@gnu.org; Wed, 12 Jul 2006 22:13:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G0qhg-0006mG-3O for bug-guile@gnu.org; Wed, 12 Jul 2006 22:13:24 -0400 Original-Received: from [209.191.124.109] (helo=web37914.mail.mud.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.52) id 1G0qjL-0006fi-BH for bug-guile@gnu.org; Wed, 12 Jul 2006 22:15:07 -0400 Original-Received: (qmail 78323 invoked by uid 60001); 13 Jul 2006 02:13:23 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=gW3XahdJx7EVia6vxnET6hzywDuOWSKMj+J4mBxUxLi5fcghnZBZXiNkUCI9KSnGHOm/NomA6v+Ah55dX7617hW5RIB1V5PMsVCA5+MyG6dU5CAETvm0SgL5dNI++iAXTGYNqL03YYMFWOzRVX8d09langeDfSDZuM94rxzEmjI= ; Original-Received: from [199.46.200.233] by web37914.mail.mud.yahoo.com via HTTP; Wed, 12 Jul 2006 19:13:23 PDT Original-To: Kevin Ryde , spikegran@earthlink.net In-Reply-To: <874pxmmg0e.fsf@zip.com.au> X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:3284 Archived-At: --- Kevin Ryde wrote: > I don't think it's c++. I'm guessing X_CAST is an OSF macro. Dunno > if it does anything good. John Eaton contributed that, maybe he can > say (Cc'ed). > You're right. When I googled for X_CAST, I came across this... http://www.belgeler.org/autobook/autobook-Changeable-C--.html which I didn't read too closely and took to understand that X_CAST was C++ (which I don't use much.) It also showed up in the Octave source, which is C++, to reinforce my misperception. For what it is worth, one of the strange machines I've been trying to compile on (powerpc-ibm-aix4.3.3.0) has the code below in float.h and math.h, which seems to align with the intent of the X_CAST in the guile source. extern unsigned int _DBLINF[2]; #define DINFINITY _DBLINF #define DBL_INFINITY (*((double *) (_DBLINF))) #define DBL_QNAN (*((double *) (DQNAN))) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile