uestla / Simplex-Calculator

PHP tool for linear programming problems solving
http://simplex.wz.cz/
39 stars 19 forks source link

Library without bcmath #21

Open recursivetree opened 10 months ago

recursivetree commented 10 months ago

This library is exactly what I'm looking for. Unfortunately, I can't use the bcmath extension in the environment I intend to use the plugin.

Is is possible to add support for running the library without bcmath?

uestla commented 9 months ago

I've intentionally rewritten the core calculations to use bcmath since it's the easiest way to have precise calculations. If you'd like to rewrite the bcmath to string operations using plain PHP, please send a PR :-)