1999-04-21 23:28:00 +00:00
|
|
|
/*
|
|
|
|
+----------------------------------------------------------------------+
|
2000-07-24 01:40:02 +00:00
|
|
|
| PHP version 4.0 |
|
1999-04-21 23:28:00 +00:00
|
|
|
+----------------------------------------------------------------------+
|
2001-02-26 06:11:02 +00:00
|
|
|
| Copyright (c) 1997-2001 The PHP Group |
|
1999-04-21 23:28:00 +00:00
|
|
|
+----------------------------------------------------------------------+
|
2000-07-24 01:40:02 +00:00
|
|
|
| This source file is subject to version 2.02 of the PHP license, |
|
|
|
|
| that is bundled with this package in the file LICENSE, and is |
|
|
|
|
| available at through the world-wide-web at |
|
|
|
|
| http://www.php.net/license/2_02.txt. |
|
|
|
|
| If you did not receive a copy of the PHP license and are unable to |
|
|
|
|
| obtain it through the world-wide-web, please send a note to |
|
|
|
|
| license@php.net so we can mail you a copy immediately. |
|
1999-04-21 23:28:00 +00:00
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
| Authors: Andi Gutmans <andi@zend.com> |
|
|
|
|
+----------------------------------------------------------------------+
|
2000-07-24 01:40:02 +00:00
|
|
|
*/
|
1999-04-21 23:28:00 +00:00
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
2000-07-02 23:46:51 +00:00
|
|
|
#ifndef PHP_BCMATH_H
|
|
|
|
#define PHP_BCMATH_H
|
1999-04-21 23:28:00 +00:00
|
|
|
|
|
|
|
#if WITH_BCMATH
|
|
|
|
|
1999-12-17 20:55:31 +00:00
|
|
|
extern zend_module_entry bcmath_module_entry;
|
1999-05-03 11:11:23 +00:00
|
|
|
#define phpext_bcmath_ptr &bcmath_module_entry
|
1999-04-21 23:28:00 +00:00
|
|
|
|
2000-11-18 02:59:31 +00:00
|
|
|
PHP_MINIT_FUNCTION(bcmath);
|
|
|
|
PHP_MSHUTDOWN_FUNCTION(bcmath);
|
|
|
|
PHP_RINIT_FUNCTION(bcmath);
|
2000-10-08 11:45:18 +00:00
|
|
|
PHP_MINFO_FUNCTION(bcmath);
|
|
|
|
|
1999-07-26 20:09:08 +00:00
|
|
|
PHP_FUNCTION(bcadd);
|
|
|
|
PHP_FUNCTION(bcsub);
|
|
|
|
PHP_FUNCTION(bcmul);
|
|
|
|
PHP_FUNCTION(bcdiv);
|
|
|
|
PHP_FUNCTION(bcmod);
|
|
|
|
PHP_FUNCTION(bcpow);
|
|
|
|
PHP_FUNCTION(bcsqrt);
|
|
|
|
PHP_FUNCTION(bccomp);
|
|
|
|
PHP_FUNCTION(bcscale);
|
1999-04-21 23:28:00 +00:00
|
|
|
|
|
|
|
#else
|
|
|
|
|
1999-05-03 11:11:23 +00:00
|
|
|
#define phpext_bcmath_ptr NULL
|
1999-04-21 23:28:00 +00:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2000-07-02 23:46:51 +00:00
|
|
|
#endif /* PHP_BCMATH_H */
|