dismiss Step into the future! Click here to switch to the beta php.net site
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Introduction> <bcsub
[edit] Last updated: Fri, 28 Jun 2013

view this page in

GNU Multiple Precision



add a note add a note User Contributed Notes GMP - [1 notes]
up
3
Anonymous
1 year ago
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

 
show source | credits | stats | sitemap | contact | advertising | mirror sites