From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4012 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: libm cleanup Date: Thu, 5 Sep 2013 18:10:33 +0200 Message-ID: <20130905161033.GO5116@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1378397444 27925 80.91.229.3 (5 Sep 2013 16:10:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Sep 2013 16:10:44 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4016-gllmg-musl=m.gmane.org@lists.openwall.com Thu Sep 05 18:10:48 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1VHc8t-00030P-Qi for gllmg-musl@plane.gmane.org; Thu, 05 Sep 2013 18:10:47 +0200 Original-Received: (qmail 3324 invoked by uid 550); 5 Sep 2013 16:10:45 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 3315 invoked from network); 5 Sep 2013 16:10:45 -0000 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:4012 Archived-At: i did some libm cleanups remaining math todos: - remove STRICT_ASSIGN, it does not make sense (we require c99 assign semantics anyway) - simplify the long double ifdefs (only check LDBL_MANT_DIG the max exp is fixed) - export efficient long double macros in math.h (at least x!=x for isnan) - change more float/double to float_t/double_t - freebsd has new long double exp* and log i need to see if they make sense for musl - precise complex functions: freebsd did arc trig functions recently so at least we can borrow those - log*, pow, __rem_pio still needs signed int cleanup