Skip to content

Commit

Permalink
Use 30 max digits by default
Browse files Browse the repository at this point in the history
This makes calculations much faster, and we may be more likely to find edge cases around the 64 bit limit.
  • Loading branch information
BenMorel committed Aug 18, 2020
1 parent f442bfc commit 283a40c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion random-tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

use Brick\Math\Internal\Calculator;

(new class(100) {
(new class(30) { // max digits
private $gmp;
private $bcmath;
private $native;
Expand Down

0 comments on commit 283a40c

Please sign in to comment.