Lines Matching refs:bc_num
37 typedef struct bc_struct *bc_num; typedef
45 bc_num n_next; /* Linked list for available list. */
104 _PROTOTYPE(bc_num _bc_new_num_ex, (int length, int scale, int persistent));
106 _PROTOTYPE(void _bc_free_num_ex, (bc_num *num, int persistent));
108 _PROTOTYPE(bc_num bc_copy_num, (bc_num num));
110 _PROTOTYPE(void bc_init_num, (bc_num *num));
112 _PROTOTYPE(void bc_str2num, (bc_num *num, char *str, int scale));
114 _PROTOTYPE(zend_string *bc_num2str, (bc_num num));
116 _PROTOTYPE(void bc_int2num, (bc_num *num, int val));
118 _PROTOTYPE(long bc_num2long, (bc_num num));
120 _PROTOTYPE(int bc_compare, (bc_num n1, bc_num n2));
122 _PROTOTYPE(char bc_is_zero, (bc_num num));
124 _PROTOTYPE(char bc_is_near_zero, (bc_num num, int scale));
126 _PROTOTYPE(char bc_is_neg, (bc_num num));
128 _PROTOTYPE(void bc_add, (bc_num n1, bc_num n2, bc_num *result, int scale_min));
130 _PROTOTYPE(void bc_sub, (bc_num n1, bc_num n2, bc_num *result, int scale_min));
132 _PROTOTYPE(void bc_multiply, (bc_num n1, bc_num n2, bc_num *prod, int scale));
134 _PROTOTYPE(int bc_divide, (bc_num n1, bc_num n2, bc_num *quot, int scale));
136 _PROTOTYPE(int bc_modulo, (bc_num num1, bc_num num2, bc_num *result,
139 _PROTOTYPE(int bc_divmod, (bc_num num1, bc_num num2, bc_num *quot,
140 bc_num *rem, int scale));
142 _PROTOTYPE(int bc_raisemod, (bc_num base, bc_num expo, bc_num mod,
143 bc_num *result, int scale));
145 _PROTOTYPE(void bc_raise, (bc_num num1, bc_num num2, bc_num *result,
148 _PROTOTYPE(int bc_sqrt, (bc_num *num, int scale));
150 _PROTOTYPE(void bc_out_num, (bc_num num, int o_base, void (* out_char)(int),