Fix unit tests for IMEXP() function

The expected value were incorrect according to LibreOffice 5 and
wolframalpha.com.
This commit is contained in:
Adrien Crivelli 2016-07-31 23:14:55 +09:00
parent ee08cafd70
commit 450c6ead99
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
2 changed files with 27 additions and 28 deletions

View File

@ -228,7 +228,6 @@ class EngineeringTest extends \PHPUnit_Framework_TestCase
/** /**
* @dataProvider providerIMEXP * @dataProvider providerIMEXP
* @group fail19
*/ */
public function testIMEXP() public function testIMEXP()
{ {

View File

@ -1,5 +1,5 @@
"12.34+5.67j", "187004.11273906-131589.323796073j" "12.34+5.67j", "187004.11273906-131589.323796073j"
"-12.34E-5+6.78E9i", "1.79747131321615E+308+1.79747131321615E+308i" "-12.34E-5+6.78E9i", "0.519482808316086+0.85433649244115i"
"3.5+2.5i", "-26.5302329126575+19.8186755366902i" "3.5+2.5i", "-26.5302329126575+19.8186755366902i"
"3.5+i", "17.8923550531471+27.8656919720394i" "3.5+i", "17.8923550531471+27.8656919720394i"
"3.5", "33.1154519586923" "3.5", "33.1154519586923"