From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 12816 invoked from network); 5 Sep 2022 14:39:17 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 5 Sep 2022 14:39:17 -0000 Received: (qmail 28434 invoked by uid 550); 5 Sep 2022 14:39:14 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 28402 invoked from network); 5 Sep 2022 14:39:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:message-id:from:to:cc:in-reply-to:subject: references; bh=t0OII+0GfG/9lwLPhhnOu+bBqcQOPwUCEqy0VO6YFEE=; b=OottGOfHUP+0aGcNFdNNcG7YRXhxNSeCXycO7wnl0zIf64snZwa7/j4K 7tBC1jiuWBraZVJ1cXvDYY6YipM3GtKGmrAAVX9rFfdNC1HL2xBsi67To vtZcu7M47ieNiPtsmmD/sSId+sHg2LQTkS9LIT1JAYSgCdBsfnyNw/Ysr w=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=Paul.Zimmermann@inria.fr; spf=None smtp.helo=postmaster@tomate Received-SPF: SoftFail (mail2-relais-roc.national.inria.fr: domain of Paul.Zimmermann@inria.fr is inclined to not designate 152.81.10.51 as permitted sender) identity=mailfrom; client-ip=152.81.10.51; receiver=mail2-relais-roc.national.inria.fr; envelope-from="Paul.Zimmermann@inria.fr"; x-sender="Paul.Zimmermann@inria.fr"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:192.134.164.0/24 mx ~all" Received-SPF: None (mail2-relais-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@tomate) identity=helo; client-ip=152.81.10.51; receiver=mail2-relais-roc.national.inria.fr; envelope-from="Paul.Zimmermann@inria.fr"; x-sender="postmaster@tomate"; x-conformance=spf_only X-IronPort-AV: E=Sophos;i="5.93,291,1654552800"; d="scan'208";a="51372269" Date: Mon, 05 Sep 2022 16:39:02 +0200 Message-Id: From: Paul Zimmermann To: Szabolcs Nagy Cc: dalias@libc.org, musl@lists.openwall.com In-Reply-To: <20220905130859.GO1320090@port70.net> (message from Szabolcs Nagy on Mon, 5 Sep 2022 15:08:59 +0200) References: <20220902121755.GS7074@brightrain.aerifal.cx> <20220905130859.GO1320090@port70.net> Subject: Re: [musl] Re: integration of CORE-MATH routines into Musl? Dear Szabolcs, > when i worked on exp and log i noticed that for single prec it is > easy to do correct rounding with only minor overhead, but it required > either a bit bigger lookup table or a bit bigger polynomial vs going > for < 1 ulp error only. please have a look at https://gitlab.inria.fr/core-math/core-math/-/blob/master/src/binary32/exp/expf.c: no big lookup table, degree 5 only. Paul