function _openid_math_div
Calls the div function from the available math library for OpenID.
1 call to _openid_math_div()
- _openid_dh_long_to_binary in drupal-7.x/
modules/ openid/ openid.inc
Archivo
- drupal-7.x/
modules/ openid/ openid.inc, line 760 - OpenID utility functions.
Código
function _openid_math_div($x, $y) {
$library = _openid_get_math_library();
switch ($library) {
case 'gmp':
return gmp_div($x, $y);
case 'bcmath':
return bcdiv($x, $y);
}
}