php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76163 Test fail for stats_stat_correlation()
Submitted: 2018-03-29 22:51 UTC Modified: 2021-11-16 13:18 UTC
From: apostnikov at gmail dot com Assigned:
Status: Suspended Package: stats (PECL)
PHP Version: 7.1.15 OS: linux/aarch64
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: apostnikov at gmail dot com
New email:
PHP Version: OS:

 

 [2018-03-29 22:51 UTC] apostnikov at gmail dot com
Description:
------------
Building package for Alpinelinux I got test fail for aarch64 & ppc64le
basically float(0) works wrong

PHP         : /usr/bin/php7 
PHP_SAPI    : cli
PHP_VERSION : 7.1.15
ZEND_VERSION: 3.1.0
PHP_OS      : Linux - Linux 299b3a9c646d 4.9.32 #1 SMP Wed Jun 14 18:37:07 UTC 2017 aarch64
INI actual  : /mnt/testing/php7-stats/src/stats-2.0.3/tmp-php.ini
More .INIs  :   
CWD         : /mnt/testing/php7-stats/src/stats-2.0.3
Extra dirs  : 
VALGRIND    : Not used

/mnt/testing/php7-stats $ cat src/stats-2.0.3/tests/stats_stat_correlation.log 

---- EXPECTED OUTPUT
float(1)
float(0)
float(-1)

Warning: stats_stat_correlation(): Unequal number of X and Y coordinates in %s on line %d
bool(false)
---- ACTUAL OUTPUT
float(1)
float(3.8459253727671E-16)
float(-1)

Warning: stats_stat_correlation(): Unequal number of X and Y coordinates in /mnt/testing/php7-stats/src/stats-2.0.3/tests/stats_stat_correlation.php on line 5
bool(false)
---- FAILED



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-11-16 13:18 UTC] cmb@php.net
-Status: Open +Status: Suspended
 [2021-11-16 13:18 UTC] cmb@php.net
Sorry to say, but the stats extension is unmainted.  Therefore I
suspend this ticket, until a new maintainer steps up.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 23:01:28 2024 UTC