Bug #78556 [NEW]: bcmul

From: Date: Wed, 18 Sep 2019 07:29:31 +0000
Subject: Bug #78556 [NEW]: bcmul
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-222798@lists.php.net to get a copy of this message
From:             shinzan69 at gmail dot com
Operating system: CentOS Linux release 7.6.1810 (C
PHP version:      7.2.22
Package:          BC math related
Bug Type:         Bug
Bug description:bcmul

Description:
------------
---
From manual page: https://php.net/function.bcmul
---

echo bcmul(10000000, 0.00001, 5);
=> 0



I expect "100". But return 0

Test script:
---------------
echo bcmul(10000000, 0.00001, 5);


Expected result:
----------------
100

Actual result:
--------------
0

-- 
Edit bug report at https://bugs.php.net/bug.php?id=78556&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=78556&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=78556&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=78556&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=78556&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=78556&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=78556&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=78556&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=78556&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=78556&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=78556&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78556&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=78556&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=78556&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=78556&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=78556&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=78556&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=78556&r=mysqlcfg


Thread (2 messages)

« previous php.bugs (#222798) next »