From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7707 invoked by alias); 15 Jun 2012 19:21:02 -0000 Received: (qmail 7686 invoked by uid 22791); 15 Jun 2012 19:20:57 -0000 X-SWARE-Spam-Status: No, hits=-5.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-pz0-f41.google.com (HELO mail-pz0-f41.google.com) (209.85.210.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 15 Jun 2012 19:20:44 +0000 Received: by dakp5 with SMTP id p5so4723306dak.0 for ; Fri, 15 Jun 2012 12:20:43 -0700 (PDT) Received: by 10.68.227.197 with SMTP id sc5mr23697661pbc.58.1339788043627; Fri, 15 Jun 2012 12:20:43 -0700 (PDT) Received: from anchor.twiddle.home ([173.160.232.49]) by mx.google.com with ESMTPS id tm2sm14126864pbc.69.2012.06.15.12.20.42 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 15 Jun 2012 12:20:43 -0700 (PDT) From: Richard Henderson To: libc-ports@sourceware.org Subject: [PATCH 1/7] alpha: Fix float_t in bits/mathdef.h Date: Fri, 15 Jun 2012 19:21:00 -0000 Message-Id: <1339788037-29519-2-git-send-email-rth@twiddle.net> In-Reply-To: <1339788037-29519-1-git-send-email-rth@twiddle.net> References: <1339788037-29519-1-git-send-email-rth@twiddle.net> X-IsSubscribed: yes Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-06/txt/msg00058.txt.bz2 --- sysdeps/alpha/bits/mathdef.h | 16 +++------------- 1 files changed, 3 insertions(+), 13 deletions(-) diff --git a/sysdeps/alpha/bits/mathdef.h b/sysdeps/alpha/bits/mathdef.h index ae0049a..393547c 100644 --- a/sysdeps/alpha/bits/mathdef.h +++ b/sysdeps/alpha/bits/mathdef.h @@ -25,19 +25,9 @@ #if defined __USE_ISOC99 && defined _MATH_H && !defined _MATH_H_MATHDEF # define _MATH_H_MATHDEF 1 -# ifdef __GNUC__ - -/* In GNU or ANSI mode, gcc leaves `float' expressions as-is. */ -typedef float float_t; -typedef double double_t; - -# else - -/* Wild guess at types for float_t and double_t. */ -typedef double float_t; -typedef double double_t; - -# endif +/* Alpha has "float" and "double" operations. */ +typedef float float_t; /* float expressions are evaluated as float. */ +typedef double double_t; /* double expressions are evaluated as double. */ /* The values returned by `ilogb' for 0 and NaN respectively. */ # define FP_ILOGB0 (-2147483647) -- 1.7.7.6