From patchwork Sun Mar 3 21:12:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcus Haehnel X-Patchwork-Id: 1907317 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernkonzept.com header.i=@kernkonzept.com header.a=rsa-sha256 header.s=mx1 header.b=JAjNmZ7l; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=uclibc-ng.org (client-ip=2a00:1828:2000:679::23; helo=helium.openadk.org; envelope-from=devel-bounces@uclibc-ng.org; receiver=patchwork.ozlabs.org) Received: from helium.openadk.org (helium.openadk.org [IPv6:2a00:1828:2000:679::23]) (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 4Tnvfq5wcDz23hX for ; Mon, 4 Mar 2024 08:12:33 +1100 (AEDT) Received: from helium.openadk.org (localhost [IPv6:::1]) by helium.openadk.org (Postfix) with ESMTP id C6473352113B; Sun, 3 Mar 2024 22:12:23 +0100 (CET) Authentication-Results: helium.openadk.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernkonzept.com header.i=@kernkonzept.com header.a=rsa-sha256 header.s=mx1 header.b=JAjNmZ7l; dkim-atps=neutral Received: from mx.kernkonzept.com (serv1.kernkonzept.com [159.69.200.6]) by helium.openadk.org (Postfix) with ESMTPS id 024D2352111A for ; Sun, 3 Mar 2024 22:12:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kernkonzept.com; s=mx1; h=Content-Transfer-Encoding:MIME-Version:Message-ID :Date:Subject:Cc:To:From:References:In-Reply-To:Reply-To:Content-Type: Content-ID:Content-Description; bh=OukvxbxuOslQxro8d0i78J6Kyya8PDl3/x0OCZYfNvk=; b=JAjNmZ7l3qyBchQxiUD5+tiDwH siRwuK5sEFARxDtMRzB05NoNyrbGDqDW9qudX8RtoRrIva32RayJHx3l3soc1nJrs57ZOgqXrogPd 8gIXEEkY08OQCv4NxBqRbQ0aGUaYBT36JACaOhmM6zVwgcrL/VuDxNgztabBWr2L7AWcrhKulAPAD skFB/BP3TIJ/5O/u2kQXSYxPW/xsU6hx7FzhUSf8fDPqQNh1ziohfVBHyc6TJotsL7sjJnhaulvPS 2vOzyzBwJHOq3HePljfdUsbLb4XXyLWqeF4VBOUZDolaqkE1ZJTBsEy4lJZVIM+DEqqMkd/VDhDbf hncNJcPg==; Received: from dslb-092-072-035-222.092.072.pools.vodafone-ip.de ([92.72.35.222] helo=amethyst.dd1.int.kernkonzept.com) by mx.kernkonzept.com with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) id 1rgt87-002Q56-0T; Sun, 03 Mar 2024 22:12:19 +0100 From: Marcus Haehnel To: devel@uclibc-ng.org Date: Sun, 3 Mar 2024 22:12:10 +0100 Message-ID: <20240303211216.1879-1-marcus.haehnel@kernkonzept.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Message-ID-Hash: 2KL3KIURCMXYGLMG4GJ5LOJQCY6PRAYR X-Message-ID-Hash: 2KL3KIURCMXYGLMG4GJ5LOJQCY6PRAYR X-MailFrom: marcus.haehnel@kernkonzept.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Marcus Haehnel X-Mailman-Version: 3.3.3 Precedence: list Subject: [uclibc-ng-devel] [PATCH] libm/w_j0f.c: Call correct ieee754 function List-Id: uClibc-ng Development Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: The j0f implementation should, like the other float implementations, call the __ieee754_y0 variant for doubles. A float variant is not declared and leads to a compile error on c99 builds. --- libm/w_j0f.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libm/w_j0f.c b/libm/w_j0f.c index 89821bc98..496e098cd 100644 --- a/libm/w_j0f.c +++ b/libm/w_j0f.c @@ -63,6 +63,6 @@ y0f (float x) return __kernel_standard_f (x, x, 135); } # endif /* __UCLIBC_HAS_FENV__ */ - return (float) __ieee754_y0f ((double) x); + return (float) __ieee754_y0 ((double) x); } #endif /* __DO_XSI_MATH__ */