Message ID | 20241107112205.503624-1-adhemerval.zanella@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=QuOjbNL/; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XkfpQ2sHsz1xyS for <incoming@patchwork.ozlabs.org>; Thu, 7 Nov 2024 22:23:41 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3C1A03858D28 for <incoming@patchwork.ozlabs.org>; Thu, 7 Nov 2024 11:23:39 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by sourceware.org (Postfix) with ESMTPS id A94553858D21 for <libc-alpha@sourceware.org>; Thu, 7 Nov 2024 11:23:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A94553858D21 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A94553858D21 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::433 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730978601; cv=none; b=HUi+YUfeBSnfvYGylyqD44V5Dk2uspjCJlTZZAXMfKAVhHDgU8NzqreqZ1ly2hBJTCQ+bShEjULx5aFVXuX5+T56GUmeisxOj2+p5DfbvQjGrjMu+ss3WkmvtrOHxqTafvqNwUuLfRK8nvIdFwN7R5VLrYVIKxuL9JJetyO+TOs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730978601; c=relaxed/simple; bh=iPYTjqy31Ws4WMPeNiKAAFnAWcFC8JggDjPEUvR9tc4=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=ovbiWMHkgv+U11TtTGj/5k54IMf+Yb49zOZVjxzLrWZbD2SSHk3vAKqIt8/9mWCHAzmv+7wxasgmFztlxoDv/wFs56+XCPV9Kw/8pvsujuSTHfZwIKb/82foWZAGKn9JBmx2Ng5ZstkhozLNNNzqZG9GGCAwifMEl3m4HQbgHhY= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-37ed3bd6114so503265f8f.2 for <libc-alpha@sourceware.org>; Thu, 07 Nov 2024 03:23:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1730978596; x=1731583396; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=1+xkDmHZPHCrGoPJTQjffOW8wLxC90nVZbCzYf56M3g=; b=QuOjbNL/O/jf038rNS/pdyltlWOnJX8fvo9VLR3FuIa4ctTVAQ2MFlD9xkq3PbFJLM kZMfmwJJzv/LciyoEdYQpdJgWeqipsPQsqVJjpGsjhA6C+0ppMH9FkF0tYGtx+OxI1so Y4VNgHIr80P+hAq9Tjym4gbZM3LGibDOenNFxcwMXFTnn48YleKvWq3Ws0DHNk0krMjK 7wF2WbxKMsycdbXka2uFO2SrSEU7Y6L6naxxxG5qeCTJ4XkHBKuUd8UTdNhAD+aoi8wt YBDSKA4HbmXxlZoy8QqXIpzOtyolaocQujO+3J9faBp6ahQOzFR5t8ugujht7bRkVWK4 15kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730978596; x=1731583396; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1+xkDmHZPHCrGoPJTQjffOW8wLxC90nVZbCzYf56M3g=; b=ACjokYDBZFlwghWPvZRMujPMa89SiBZNMDwV70oDdGRPwBV17WrKPxBaZWxkdMx0xC iYDs3H9U1MGeT1UQx0LX+CX3aqkw0aWROQDt27vLpsHB6m88Jg6APP3hgs89FUB1vG8N VX8l20XFvnb8ofWB10Q3XW4HnPBZchc3JNSuttaC1ApsFXxzKK4NNNutJ4vMGTU55iS+ 22B0g3mKbgwQ95sDaPTkKLZVzCPArTeddr0GhjRcNszYNGwFq9pYxESiL0zojWqcdy3k q/7CYB5qR1LhJHmM+0VedNPXF6VnTDlYDcvMmJPoy/vyMfskZ9MX0qssvhfMxZm9VZqc dDXA== X-Gm-Message-State: AOJu0YxjzT7lNM+OByoofbH+AAryazxgvCJsqXkkF1SKBPVQu2P4ySaJ g1tVtR030ZYpL0Ulx1H8hvmTBSw6Xm1oDlLkn2vsTwrGarwNZNw5T9ZQJejK8hxEIuLw5S7uq6j luf1sOQ== X-Google-Smtp-Source: AGHT+IHHXRSLlSiBpkCzBhmBYKXMVCL8KZfVcmS7ZK2nM826u5ePzIUzWNUDoWEcrSe/QtOA1HC9vQ== X-Received: by 2002:a05:6000:4817:b0:37d:4fe9:b6a4 with SMTP id ffacd0b85a97d-381c7ab30a6mr19542532f8f.50.1730978596576; Thu, 07 Nov 2024 03:23:16 -0800 (PST) Received: from ubuntu-vm.. ([89.101.134.25]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-381ed99681csm1492817f8f.49.2024.11.07.03.23.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Nov 2024 03:23:16 -0800 (PST) From: Adhemerval Zanella <adhemerval.zanella@linaro.org> To: libc-alpha@sourceware.org Cc: caiyinyu <caiyinyu@loongson.cn>, Xi Ruoyao <xry111@xry111.site>, Adhemerval Zanella <adhemerval.zanella@linaro.org> Subject: [COMMITTED] math: Fix log10f on some ABIs Date: Thu, 7 Nov 2024 08:22:05 -0300 Message-ID: <20241107112205.503624-1-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> Errors-To: libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org |
Series |
[COMMITTED] math: Fix log10f on some ABIs
|
expand
|
diff --git a/sysdeps/ieee754/flt-32/e_log10f.c b/sysdeps/ieee754/flt-32/e_log10f.c index 058ce31f09..03d9e281f3 100644 --- a/sysdeps/ieee754/flt-32/e_log10f.c +++ b/sysdeps/ieee754/flt-32/e_log10f.c @@ -37,9 +37,8 @@ as_special (float x) return x; /* +inf */ uint32_t ax = ux << 1; if (ax == 0u) - { /* -0.0 */ - __math_divzerof (1); - } + /* -0.0 */ + return __math_divzerof (1); if (ax > 0xff000000u) return x + x; /* nan */ return __math_invalidf (x);