Searched defs:exponent (Results 1 - 4 of 4) sorted by relevance

/PHP_5_6/ext/bcmath/libbcmath/src/
H A Draise.c43 Maximum exponent is LONG_MAX. If a NUM2 is not an integer,
50 long exponent; local
56 /* Check the exponent for scale digits and convert to a long. */
58 bc_rt_warn ("non-zero scale in exponent");
59 exponent = bc_num2long (num2);
60 if (exponent == 0 && (num2->n_len > 1 || num2->n_value[0] != 0))
61 bc_rt_error ("exponent too large in raise");
63 /* Special case if exponent is a zero. */
64 if (exponent == 0)
72 if (exponent <
[all...]
H A Draisemod.c48 bc_num power, exponent, parity, temp; local
57 exponent = bc_copy_num (expo);
65 /* Check the exponent for scale digits. */
66 if (exponent->n_scale != 0)
68 bc_rt_warn ("non-zero scale in exponent");
69 bc_divide (exponent, BCG(_one_), &exponent, 0 TSRMLS_CC); /*truncate */
78 while ( !bc_is_zero(exponent TSRMLS_CC) )
80 (void) bc_divmod (exponent, BCG(_two_), &exponent,
[all...]
/PHP_5_6/main/
H A Dsnprintf.c137 PHPAPI char *php_gcvt(double value, int ndigit, char dec_point, char exponent, char *buf) /* {{{ */ argument
176 *dst++ = exponent;
440 char temp[EXPONENT_LENGTH]; /* for exponent conversion */
451 * Make sure the exponent has at least 2 digits
/PHP_5_6/Zend/
H A Dzend_operators.c142 double exponent; local
158 exponent = (double) atoi(digit+1);
159 result *= pow(10.0, exponent);
172 exponent = (double) atoi(digit+1);
173 result *= pow(10.0, exponent);

Completed in 17 milliseconds