Bug #78238 [PATCH]: BCMath returns "-0"

From: Date: Thu, 18 Jul 2019 13:30:29 +0000
Subject: Bug #78238 [PATCH]: BCMath returns "-0"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-221856@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78238&edit=1 ID: 78238 Patch added by: test267@yopmail.com Reported by: Wes dot nospam at example dot org Summary: BCMath returns "-0" Status: Open Type: Bug Package: BC math related PHP Version: 7.4.0alpha2 Block user comment: N Private report: N New Comment: The following pull request has been associated: Patch Name: Implemented HTTP client On GitHub: https://github.com/php/web-bugs/pull/79 Patch: https://github.com/php/web-bugs/pull/79.patch Previous Comments: ------------------------------------------------------------------------ [2019-07-02 06:42:27] cmb@php.net Closely relared to bug #78071. ------------------------------------------------------------------------ [2019-07-01 23:27:09] Wes dot nospam at example dot org Description: ------------ Not sure if we care about not returning "-0". If we do, the reproduce code is: echo bcadd("0", "-0.1"); // returns "-0" Used to work back in PHP 4 (!!!) never worked in 5 and 7 https://3v4l.org/hammP Thanks ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78238&edit=1

« previous php.bugs (#221856) next »