数学扩展
在线手册:中文 英文
PHP手册

GNU Multiple Precision


数学扩展
在线手册:中文 英文
PHP手册
PHP手册 - N: GNU Multiple Precision

用户评论:

Anonymous (16-Nov-2011 01:38)

Be careful with GMP - it considers leading zeros in a number string as meaning the number is in octal, whereas 'bc' doesn't:

  gmp_strval("000100", 10) => 64

  bcmul("000100", "1") => 100