_openid_math_add
function _openid_math_add
_openid_math_add($x, $y)
Calls the add function from the available math library for OpenID.
File
- modules/openid/openid.inc, line 739
- OpenID utility functions.
Code
function _openid_math_add($x, $y) { $library = _openid_get_math_library(); switch ($library) { case 'gmp': return gmp_strval(gmp_add($x, $y)); case 'bcmath': return bcadd($x, $y); } }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!openid!openid.inc/function/_openid_math_add/7.x