Home
last modified time | relevance | path

Searched refs:int_part (Results 1 – 1 of 1) sorted by relevance

/PHP-8.2/ext/bcmath/libbcmath/src/
H A Doutput.c85 bc_num int_part, frac_part, base, cur_dig, t_num, max_o_digit; in bc_out_num() local
123 bc_init_num (&int_part); in bc_out_num()
124 bc_divide (num, BCG(_one_), &int_part, 0); in bc_out_num()
128 bc_sub (num, int_part, &frac_part, 0); in bc_out_num()
130 int_part->n_sign = PLUS; in bc_out_num()
138 while (!bc_is_zero (int_part)) in bc_out_num()
140 bc_modulo (int_part, base, &cur_dig, 0); in bc_out_num()
146 bc_divide (int_part, base, &int_part, 0); in bc_out_num()
174 bc_int2num (&int_part, fdigit); in bc_out_num()
175 bc_sub (frac_part, int_part, &frac_part, 0); in bc_out_num()
[all …]

Completed in 3 milliseconds