Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76511 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51359 invoked from network); 14 Aug 2014 09:45:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Aug 2014 09:45:20 -0000 Authentication-Results: pb1.pair.com header.from=php@mabe.berlin; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=php@mabe.berlin; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain mabe.berlin from 80.237.132.171 cause and error) X-PHP-List-Original-Sender: php@mabe.berlin X-Host-Fingerprint: 80.237.132.171 wp164.webpack.hosteurope.de Received: from [80.237.132.171] ([80.237.132.171:34083] helo=wp164.webpack.hosteurope.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 13/D1-40673-0358CE35 for ; Thu, 14 Aug 2014 05:45:20 -0400 Received: from dslb-178-005-089-244.178.005.pools.vodafone-ip.de ([178.5.89.244] helo=[192.168.178.27]); authenticated by wp164.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) id 1XHrav-0006Mj-HS; Thu, 14 Aug 2014 11:45:17 +0200 Message-ID: <53EC8507.9020303@mabe.berlin> Date: Thu, 14 Aug 2014 11:44:39 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: internals@lists.php.net References: <53EC84BF.9000002@mabe.berlin> In-Reply-To: <53EC84BF.9000002@mabe.berlin> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;php@mabe.berlin;1408009520;c9590231; Subject: Re: [PHP-DEV] Improved logarithm of base 2|10 of standard math function From: php@mabe.berlin (Marc Bennewitz) forgotten the link: https://github.com/php/php-src/pull/658 On 14.08.2014 11:43, Marc Bennewitz wrote: > Hi internals, > > I have created a PR to improve the base 2 and base 10 of the standard > math function "log" to reduce rounding errors. > > Internally on log(x, 2) the native C function log2(x) and on log(x, 10) > the native C function log10(x) will be called. > > The PR is open since april without any comments! > Please please please someone there to merge this. > > PS: > Because of after this PR the following will be the same in PHP log10(x) > === log10(x) the function log10 is needless and could be > deprecated/removed. I will create an RFC if this PR was merged. > > Marc >