From nobody Fri Nov 5 18:28:43 2021 X-Original-To: freebsd-current@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 DD073183025D for ; Fri, 5 Nov 2021 18:28:45 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (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 "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hm8Cd4xtxz3JlJ; Fri, 5 Nov 2021 18:28:45 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.16.1/8.16.1) with ESMTPS id 1A5IShjX026382 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 5 Nov 2021 11:28:44 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.16.1/8.16.1/Submit) id 1A5IShK6026381; Fri, 5 Nov 2021 11:28:43 -0700 (PDT) (envelope-from sgk) Date: Fri, 5 Nov 2021 11:28:43 -0700 From: Steve Kargl To: Ed Maste Cc: FreeBSD Current Subject: Re: [LIBM] One step closer to C99 conformance Message-ID: <20211105182843.GA26300@troutmask.apl.washington.edu> References: <20211105010733.GA16355@troutmask.apl.washington.edu> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4Hm8Cd4xtxz3JlJ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Fri, Nov 05, 2021 at 01:25:42PM -0400, Ed Maste wrote: > On Thu, 4 Nov 2021 at 21:09, Steve Kargl > wrote: > > > > A patch has been attached to > > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216862 > > > > which implements cexpl(). > > Great, thank you Steve. > > Do you have a list of what else is left for full C99? (Including > anything that may be implemented in a suboptimal way today and should > be redone.) I have ccoshl and ccosl implemented, but need to do some testing. Things that are missing ctanhl, ctanl, csinhl, and csinl. I have an old implementation of csinhl/csinl, but Bruce had some concerns with handling of NaN and +-inf. Need to dig up some old emails. tgammal, powl, and cpow[fl] are a mess as the people who committed code for these functions seem to have no interest in floating point math on FreeBSD. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89125 -- Steve