From nobody Thu Nov 27 21:11:37 2025 X-Original-To: numerics@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dHTdJ0fY0z6J8Fr for ; Thu, 27 Nov 2025 21:11:48 +0000 (UTC) (envelope-from fuz@fuz.su) Received: from fuz.su (fuz.su [IPv6:2001:41d0:8:e508::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "fuz.su", Issuer "fuz.su" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dHTdH1mK9z3bcZ for ; Thu, 27 Nov 2025 21:11:47 +0000 (UTC) (envelope-from fuz@fuz.su) Authentication-Results: mx1.freebsd.org; none Received: from fuz.su (localhost [127.0.0.1]) by fuz.su (8.18.1/8.18.1) with ESMTPS id 5ARLBbYC060218 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 27 Nov 2025 22:11:38 +0100 (CET) (envelope-from fuz@fuz.su) Received: (from fuz@localhost) by fuz.su (8.18.1/8.18.1/Submit) id 5ARLBbw7060217; Thu, 27 Nov 2025 22:11:37 +0100 (CET) (envelope-from fuz) Date: Thu, 27 Nov 2025 22:11:37 +0100 From: Robert Clausecker To: Paul Zimmermann Cc: numerics@freebsd.org Subject: Re: C23 support for libm Message-ID: References: List-Id: Discussions of high quality implementation of libm functions List-Archive: https://lists.freebsd.org/archives/freebsd-numerics List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-numerics@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dHTdH1mK9z3bcZ Hi Paul Am Thu, Nov 27, 2025 at 10:04:23PM +0100 schrieb Paul Zimmermann: > Hi Robert, > > note that all new C23 functions are available in CORE-MATH (with correct > rounding): > > https://core-math.gitlabpages.inria.fr/ > > The MIT license should enable easy integration into Newlib. I checked some functions and couldn't find them: pown(), powr(), rootn(), fromfpx(), nextup(), nextdown(). It seems like only a small set of the new C23 functions are supported by this project. Neverthless, those might be a useful import, but I'll leave that to kargl, as I am not an expert on numerical programming. > Paul Zimmermann Yours, Robert Clausecker -- () ascii ribbon campaign - for an encoding-agnostic world /\ - against html email - against proprietary attachments