Home
last modified time | relevance | path

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

/PHP-7.0/ext/bcmath/libbcmath/src/
H A Doutput.c98 bc_num int_part, frac_part, base, cur_dig, t_num, max_o_digit; in bc_out_num() local
136 bc_init_num (&int_part); in bc_out_num()
137 bc_divide (num, BCG(_one_), &int_part, 0); in bc_out_num()
141 bc_sub (num, int_part, &frac_part, 0); in bc_out_num()
143 int_part->n_sign = PLUS; in bc_out_num()
151 while (!bc_is_zero (int_part)) in bc_out_num()
153 bc_modulo (int_part, base, &cur_dig, 0); in bc_out_num()
160 bc_divide (int_part, base, &int_part, 0); in bc_out_num()
188 bc_int2num (&int_part, fdigit); in bc_out_num()
189 bc_sub (frac_part, int_part, &frac_part, 0); in bc_out_num()
[all …]

Completed in 4 milliseconds