From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28422 invoked by alias); 15 Jun 2003 19:00:16 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 28402 invoked from network); 15 Jun 2003 19:00:15 -0000 Received: from unknown (HELO Cantor.suse.de) (213.95.15.193) by sources.redhat.com with SMTP; 15 Jun 2003 19:00:15 -0000 Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136]) by Cantor.suse.de (Postfix) with ESMTP id A39A414B3D; Sun, 15 Jun 2003 21:00:05 +0200 (MEST) Received: from aj by arthur.inka.de with local (Exim 4.12) id 19RcjT-00071X-00; Sun, 15 Jun 2003 21:00:03 +0200 To: Ulrich Drepper Cc: GNU libc hacker Subject: Re: carg, cimag, creal,.. in tgmath.h References: <3EECA99F.2030700@redhat.com> From: Andreas Jaeger Date: Sun, 15 Jun 2003 19:00:00 -0000 In-Reply-To: <3EECA99F.2030700@redhat.com> (Ulrich Drepper's message of "Sun, 15 Jun 2003 10:15:11 -0700") Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Portable Code, linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-SW-Source: 2003-06/txt/msg00027.txt.bz2 --=-=-= Content-Transfer-Encoding: quoted-printable Content-length: 858 Ulrich Drepper writes: > Andreas Jaeger wrote: > >> Here's a patch to fix the c* functions. Ok to commit? > > What exactly is wrong. And cite the standard. =46rom 7.22: [#6] For each unsuffixed function in that is not a c-prefixed counterpart to a function in , the corresponding type-generic macro has the same name as the function. These type-generic macros are: carg conj creal cimag cproj Use of the macro with any real or complex argument invokes a complex function. The problem is that carg(real float variable) will call the long double function. Andreas --=20 Andreas Jaeger, SuSE Linux AG, aj@suse.de, http://www.suse.de/~aj GPG fingerprint =3D 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 --=-=-= Content-Type: application/pgp-signature Content-length: 197 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQA+7MIzOJpWPMJyoSYRAi7BAJ41eZFYI93TNo5kISmRcLthGx/LLgCghuFU /c0Xi7JvzlwNG4/pyQr/MIk= =JMtT -----END PGP SIGNATURE----- --=-=-=--