brick / math

Arbitrary-precision arithmetic library for PHP
MIT License
1.78k stars 75 forks source link

Feature Request: Implement lisachenko/z-engine #61

Closed RikudouSage closed 2 years ago

RikudouSage commented 2 years ago

lisachenko/z-engine is a great library that allows you to for example have objects comparable or use mathematical operations on them.

Example what would be possible:

<?php
var_dump(new BigInteger(5) > new BigInteger(1)); // true
var_dump(new BigInteger(10) + new BigInteger(3)); // BigInteger with value 13

It could be implemented as an optional dependency instead of a hardwired one.

BenMorel commented 2 years ago

Hi, this project looks really interesting, thanks for the pointer!

As it stands though, it's definitely not mature/stable/mainstream enough to be considered for this library!