function _openid_math_pow in Drupal 7
Calls the pow function from the available math library for OpenID.
1 call to _openid_math_pow()
- _openid_dh_rand in modules/
openid/ openid.inc
File
- modules/
openid/ openid.inc, line 805 - OpenID utility functions.
Code
function _openid_math_pow($x, $y) {
$library = _openid_get_math_library();
switch ($library) {
case 'gmp':
return gmp_pow($x, $y);
case 'bcmath':
return bcpow($x, $y);
}
}