Skip to content

Commit 2385e8e

Browse files
committed
Use -1 "precision" in gen_stub.php
1 parent eff9aed commit 2385e8e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

build/gen_stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use PhpParser\PrettyPrinterAbstract;
1616

1717
error_reporting(E_ALL);
18-
ini_set("precision", "17");
18+
ini_set("precision", "-1");
1919

2020
const PHP_70_VERSION_ID = 70000;
2121
const PHP_80_VERSION_ID = 80000;

ext/standard/basic_functions.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* @var float
77
* @cvalue M_E
88
*/
9-
const M_E = 2.7182818284590452354;
9+
const M_E = 2.718281828459045;
1010

1111
final class __PHP_Incomplete_Class
1212
{

ext/standard/basic_functions_arginfo.h

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)