Back to index

php5  5.3.10
private.h
Go to the documentation of this file.
00001 /* private.h: bcmath library header.      */
00002 /*
00003     Copyright (C) 1991, 1992, 1993, 1994, 1997 Free Software Foundation, Inc.
00004     Copyright (C) 2000 Philip A. Nelson
00005 
00006     This library is free software; you can redistribute it and/or
00007     modify it under the terms of the GNU Lesser General Public
00008     License as published by the Free Software Foundation; either
00009     version 2 of the License, or (at your option) any later version.
00010 
00011     This library is distributed in the hope that it will be useful,
00012     but WITHOUT ANY WARRANTY; without even the implied warranty of
00013     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014     Lesser General Public License for more details.  (COPYING.LIB)
00015 
00016     You should have received a copy of the GNU Lesser General Public
00017     License along with this library; if not, write to:
00018 
00019       The Free Software Foundation, Inc.
00020       59 Temple Place, Suite 330
00021       Boston, MA 02111-1307 USA.
00022 
00023     You may contact the author by:
00024        e-mail:  philnelson@acm.org
00025       us-mail:  Philip A. Nelson
00026                 Computer Science Department, 9062
00027                 Western Washington University
00028                 Bellingham, WA 98226-9062
00029        
00030 *************************************************************************/
00031 
00032 /* "Private" routines to bcmath. */
00033 
00034 /* variables */
00035 #if SANDER_0
00036 extern bc_num _bc_Free_list;
00037 #endif
00038 
00039 /* routines */
00040 int _bc_do_compare (bc_num n1, bc_num n2, int use_sign, int ignore_last);
00041 bc_num _bc_do_add (bc_num n1, bc_num n2, int scale_min);
00042 bc_num _bc_do_sub (bc_num n1, bc_num n2, int scale_min);
00043 void _bc_rm_leading_zeros (bc_num num);