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

/PHP_TRUNK/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_TRUNK/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

Completed in 4 milliseconds