summaryrefslogtreecommitdiff
path: root/ext/standard/phpmath.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/phpmath.h')
-rw-r--r--ext/standard/phpmath.h70
1 files changed, 70 insertions, 0 deletions
diff --git a/ext/standard/phpmath.h b/ext/standard/phpmath.h
new file mode 100644
index 0000000000..ed3759018b
--- /dev/null
+++ b/ext/standard/phpmath.h
@@ -0,0 +1,70 @@
+/*
+ +----------------------------------------------------------------------+
+ | PHP HTML Embedded Scripting Language Version 3.0 |
+ +----------------------------------------------------------------------+
+ | Copyright (c) 1997,1998 PHP Development Team (See Credits file) |
+ +----------------------------------------------------------------------+
+ | This program is free software; you can redistribute it and/or modify |
+ | it under the terms of one of the following licenses: |
+ | |
+ | A) the GNU General Public License as published by the Free Software |
+ | Foundation; either version 2 of the License, or (at your option) |
+ | any later version. |
+ | |
+ | B) the PHP License as published by the PHP Development Team and |
+ | included in the distribution in the file: LICENSE |
+ | |
+ | This program is distributed in the hope that it will be useful, |
+ | but WITHOUT ANY WARRANTY; without even the implied warranty of |
+ | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
+ | GNU General Public License for more details. |
+ | |
+ | You should have received a copy of both licenses referred to here. |
+ | If you did not, or have any questions about PHP licensing, please |
+ | contact core@php.net. |
+ +----------------------------------------------------------------------+
+ | Authors: Jim Winstead (jimw@php.net) |
+ | Stig Sæther Bakken <ssb@guardian.no> |
+ +----------------------------------------------------------------------+
+ */
+
+
+/* $Id$ */
+
+#ifndef _PHPMATH_H
+#define _PHPMATH_H
+extern void php3_sin(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_cos(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_tan(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_asin(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_acos(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_atan(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_atan2(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_pi(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_exp(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_log(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_log10(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_pow(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_sqrt(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_srand(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_rand(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_getrandmax(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_mt_srand(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_mt_rand(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_mt_getrandmax(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_abs(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_ceil(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_floor(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_round(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_decbin(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_dechex(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_decoct(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_bindec(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_hexdec(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_octdec(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_base_convert(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_number_format(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_deg2rad(INTERNAL_FUNCTION_PARAMETERS);
+extern void php3_rad2deg(INTERNAL_FUNCTION_PARAMETERS);
+
+#endif /* _PHPMATH_H */