function _openid_math_mul
7.x openid.inc | _openid_math_mul($x, $y) |
Calls the mul function from the available math library for OpenID.
1 call to _openid_math_mul()
- _openid_dh_binary_to_long in drupal-7.x/
modules/ openid/ openid.inc
File
- drupal-7.x/
modules/ openid/ openid.inc, line 747 - OpenID utility functions.
Code
function _openid_math_mul($x, $y) {
$library = _openid_get_math_library();
switch ($library) {
case 'gmp':
return gmp_mul($x, $y);
case 'bcmath':
return bcmul($x, $y);
}
}