Delivered-To: mlmmj-tyndur-devel
Received: from sv1.famkaufmann.info [176.9.73.67]
	by a9b8c5461646 with IMAP (fetchmail-6.3.26)
	for <mlmmj@localhost> (single-drop); Mon, 12 Apr 2021 21:18:14 +0000 (GMT)
Received: from localhost ([172.29.0.7])
	by sv1.famkaufmann.info with LMTP
	id MBsUFAW5dGDOMgAALHnFKQ
	(envelope-from <hanna.reitz@mailbox.org>)
	for <mlmmj-tyndur-devel>; Mon, 12 Apr 2021 21:17:57 +0000
Delivered-To: tyndur-devel@tyndur.org
Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [80.241.56.152])
	by sv1.famkaufmann.info (OpenSMTPD) with ESMTPS id a4342afb (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO)
	for <tyndur-devel@tyndur.org>;
	Mon, 12 Apr 2021 21:17:56 +0000 (UTC)
Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4FK1mN3QPPzQjn2
	for <tyndur-devel@tyndur.org>; Mon, 12 Apr 2021 23:17:56 +0200 (CEST)
Authentication-Results: spamfilter04.heinlein-hosting.de (amavisd-new);
	dkim=pass (2048-bit key) reason="pass (just generated, assumed good)"
	header.d=mailbox.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812;
	t=1618262276;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding;
	bh=sM2O9LtoXWBWdM9C/lN1ot8c6+bcSaewUvKbwuGwxvo=;
	b=c+JDWEN2AsKf1Om0RY5rdH7n+EctDidHdV0gCTil6KgJCnw6Joo83Z+XiAT+O1NIbuFV1E
	UrTOdTVS1etCmCEx1qYLtesdrG6AqMhQTOInqAfklbICYnfhmmEVVXKiiSTUUcamsEL7DR
	mDR4azgGeYrXBYDHL4KBuX+KwkDdJ+Fdlr2qG9WY4rKPnOiSQuOHiZ0tEkpblBZnrhVdtL
	KXEiEQ9dOHHUtNxmu1/2MHzRPmvfddVAiAv1tPwPYXFhTZr8bj2it82PjtHG29O8Dz7lzp
	fGzcXAib4mNQWDIDNeaPMOaxbhj9AQLsCpNKMYDeOKc/XbuB/jaCXjVErY8w/g==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h=
	content-transfer-encoding:content-type:content-type:mime-version
	:message-id:date:date:subject:subject:from:from:received; s=
	mail20150812; t=1618262275; bh=Ix67lHrZPqFBYTX4Jjw/E921/IwACEpDh
	TlRzCFhaSA=; b=JcSTj5Csq7qmaVWDcUWbLt4C5pGAnu0pwIkP+v6oOPzUt6D88
	0EUS7vrn9Tvu0ty4qZO0DzZ9sGE1msYi/dOK3dgZdhybLfFF0mpDY12MO9iPG4SL
	W1bFYc3gR9HEvcZz7pMjdsglB504OY/NoL6EVoQ8yRsIz7AEsBcGOho0EwdIo0vS
	JmgYhmXWg2dksU8HRh/09BkVlcZlT4f+Me/fDqykESSf2qLpqFeJFT5mkgj9CtTo
	7Dt7W40ogBdey3EV1LJozRqi2k21L4rMf6ae2pgsbk/z8CmoIVX/bdRdOI8Z50rD
	FE6wnDyNyUVnKT8Gs8DFzC/h32qMhXQIDH9rA==
X-Virus-Scanned: amavisd-new at heinlein-support.de
Received: from smtp1.mailbox.org ([80.241.60.240])
	by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) (amavisd-new, port 10030)
	with ESMTP id XBc4W_r3aStb; Mon, 12 Apr 2021 23:17:55 +0200 (CEST)
From: Hanna Reitz <hanna.reitz@mailbox.org>
To: tyndur-devel@tyndur.org
Cc: Hanna Reitz <hanna.reitz@mailbox.org>
Subject: [PATCH 0/2] libc: Kleine Standardbibliotheksergänzungen
Date: Mon, 12 Apr 2021 23:17:48 +0200
Message-Id: <20210412211750.716318-1-hanna.reitz@mailbox.org>
Errors-To: toni@tyndur.org
Precedence: list
Reply-To: tyndur-Patches <tyndur-devel@tyndur.org>
List-Id: tyndur-Patches <tyndur-devel.tyndur.org>
List-Unsubscribe: <mailto:tyndur-devel+unsubscribe@tyndur.org>
List-Post: <mailto:tyndur-devel@tyndur.org>
List-Help: <mailto:tyndur-devel+help@tyndur.org>
List-Subscribe: <mailto:tyndur-devel+subscribe@tyndur.org>
List-Owner: <mailto:toni@tyndur.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-MBO-SPAM-Probability: 
X-Rspamd-Score: -4.31 / 15.00 / 15.00
X-Rspamd-Queue-Id: 46FCC243
X-Rspamd-UID: 2fa9c3

Moinsen,

Rust hätte ganz gern strerror_r(), und die num-Crate hätte ganz gern
cbrt*() und hypot*().  (Außerdem braucht die cbrt*()-Version, die ich
hier herumliegen habe, powf() und powl().)


Hanna Reitz (2):
  libc: Implementiere strerror_r()
  libm: pow{f,l}(), cbrt{,f,l}() und hypot{,f,l}()

 src/include/string.h                 |  6 ++++
 src/modules/include/math.h           | 10 +++++++
 src/modules/lib/posix/strerror.c     | 40 +++++++++++++++++++++----
 src/modules/lib/stdlibc/math/cbrt.c  | 44 ++++++++++++++++++++++++++++
 src/modules/lib/stdlibc/math/hypot.c | 44 ++++++++++++++++++++++++++++
 src/modules/lib/stdlibc/math/pow.c   | 31 +++++++++++++++++++-
 6 files changed, 169 insertions(+), 6 deletions(-)
 create mode 100644 src/modules/lib/stdlibc/math/cbrt.c
 create mode 100644 src/modules/lib/stdlibc/math/hypot.c

-- 
2.31.0

