PHP Classes

alternative to bcmath

Recommend this page to a friend!

      RSA  >  All threads  >  alternative to bcmath  >  (Un) Subscribe thread alerts  
Subject:alternative to bcmath
Summary:use gmp if available, bcmath if not, and failing bcmath, php
Messages:1
Author:thomas mckinzey
Date:2009-02-22 02:55:54
 

  1. alternative to bcmath   Reply   Report abuse  
Picture of thomas mckinzey thomas mckinzey - 2009-02-22 02:55:54
phpseclib.cvs.sourceforge.net/viewv ...

In terms of speed, gmp > bcmath > php. In terms of compatibility, php > bcmath > gmp. The above seems to give the best of both. Might be a good idea to include it as such.