Jeroen van Wolffelaar
dc4adaa231
#- HTML-safe error for pow()
2001-08-03 23:27:23 +00:00
Jeroen van Wolffelaar
7733d95770
- New pow() function. It now gives warnings on wrong input, and
...
returns integer result when possible
@- New pow() implementation, which returns an integer when possible,
@ and warnings on wrong input (jeroen)
2001-08-03 22:19:11 +00:00
Frank M. Kromann
2794a0e69a
These new math functions are not supported on Win32
2001-08-01 16:55:24 +00:00
Andrei Zmievski
fa6b5cdde7
- Added a few new math functions from Jesus Castagnetto.
...
- Converted to Z_* macros.
@- Added a few new math functions. (Jesus)
2001-08-01 13:48:14 +00:00
Rasmus Lerdorf
81e2cf03ac
Fix folding and clean up some extensions
2001-06-06 13:06:12 +00:00
Rasmus Lerdorf
25c3a3a39d
vim-6 does folding - clean up a bunch of missing folding tags plus
...
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
2001-06-05 13:12:10 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
Thies C. Arntzen
825457ae64
update my email.
2000-10-29 09:14:55 +00:00
Frank M. Kromann
d313ad8bf5
Making _php_math_longtobase() and _php_math_basetolong() callable from DLL and SO modules
2000-10-27 20:26:16 +00:00
Stanislav Malyshev
08e1c852aa
Fix decbin
2000-09-17 21:11:55 +00:00
Hartmut Holzgraefe
0df7721842
fix for bug #5672
2000-07-30 21:55:27 +00:00
David Croft
83513d9580
Changed lots of PHP 3 licence headers to PHP 4, mainly in .h files.
...
Added a few RCS $Id$ tags.
# Note: I have avoided changing any .h files if the corresponding .c file
# had not already been changed as I am not sure if there are any legal
# issues here. So some extensions still have PHP 3 headers.
2000-07-24 01:40:02 +00:00
Rasmus Lerdorf
e3fd1edc49
Make it possible to specify an empty string as a thousands-seperator
...
in number_format()
@ Make it possible to specify an empty string as a thousands-seperator
@ in number_format()
2000-07-14 18:46:13 +00:00
Egon Schmid
11b749e047
Corrected a mispelled word.
2000-07-09 14:14:51 +00:00
Sascha Schumann
d1c1e99d98
Rename phpmath.h to php_math.h.
2000-06-13 16:31:57 +00:00
Andrei Zmievski
c85390a691
(php_math_number_format) Simplifying the logic also fixed bugs #4954
...
and #4998 .
2000-06-13 04:31:02 +00:00
Egon Schmid
e465e94a12
Fixed a proto.
2000-06-12 15:17:08 +00:00
Andi Gutmans
3701bc4207
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
2000-06-05 19:47:54 +00:00
Zeev Suraski
ab36e22aeb
Small optimization
2000-06-02 12:24:24 +00:00
Zeev Suraski
e043439ff6
Update the license with the new clause 6
2000-05-18 15:34:45 +00:00
Andrei Zmievski
c97760776b
(PHP round) Fix proto.
2000-05-18 12:29:58 +00:00
Egon Schmid
7dd8b901e6
Second parameter is optional.
2000-05-17 18:17:07 +00:00
Andrei Zmievski
e2e6363488
Let's cast it.
2000-05-17 12:51:37 +00:00
Andrei Zmievski
08ff225a46
@- Improved round() to allow specification of rounding precision.
...
@ (Andrei, Todd Kirby <kirbyt@yahoo.com>)
2000-05-17 12:50:04 +00:00
Andi Gutmans
f2ff9eeef5
@ Fix bug in number_format (Jon Forsberg)
2000-04-15 13:53:32 +00:00
Hartmut Holzgraefe
744fe82e0a
added the other usefull constants besides M_PI from math.h
...
as PHP constants
2000-04-08 23:53:19 +00:00
Sascha Schumann
bb09ee9505
Use sprintf everywhere and define sprintf to php_sprintf, if sprintf is broken.
2000-03-12 17:18:21 +00:00
Sascha Schumann
caeaaf4d98
Fix build on systems which lack snprintf or vsnprintf.
...
PR: #3786
2000-03-12 15:47:34 +00:00
Egon Schmid
70893ff7af
Only two lines are allowed here.
2000-03-01 19:56:46 +00:00
Hartmut Holzgraefe
33cb181af2
round(-0.1) will now return 0 instead of -0
2000-03-01 19:36:37 +00:00
Egon Schmid
fe615efb5c
More protos.
2000-02-24 08:39:02 +00:00
Zeev Suraski
86fa2aade2
the pipe is breaking all the time
2000-02-19 23:41:32 +00:00
Sascha Schumann
43ae2bffbb
Happy Y2K patch! Happy new year (or the new millennium, depending on whether
...
you start counting at 0 or 1).
2000-01-01 01:32:05 +00:00
Zeev Suraski
a1ad2872ee
- The tree compiles again
1999-12-18 22:40:35 +00:00
Evan Klinger
be6dde2639
Optimize a tiny bit
1999-11-22 02:38:00 +00:00
Egon Schmid
6025dd0bda
One typo corrected.
1999-10-17 07:38:35 +00:00
Andi Gutmans
4a8cac0878
- Converted math.c to use new convert_to_number_ex() macro.
1999-10-15 06:31:40 +00:00
Thies C. Arntzen
8bafcd3aa7
@- Upgraded math-funtions to use new Zend function API (Thies)
1999-10-13 19:43:36 +00:00
Andrey Hristov
cff218cf54
Kill compiler warning.
1999-09-07 18:26:36 +00:00
Zeev Suraski
3cb1eb0471
Removed '3' from key functions in PHP (maintained compatibility through
...
php3_compat.h)
1999-08-02 19:17:14 +00:00
Zeev Suraski
eb3d12c6dd
Fix bug #1914
1999-07-31 16:20:06 +00:00
Sascha Schumann
39691bed9e
conv_proto *.[ch]
1999-05-16 11:19:26 +00:00
Zeev Suraski
0818d96c97
A lot of cleanups... Removed old thread-safe code and other redundant code and files
1999-04-24 00:12:00 +00:00
Zeev Suraski
6f7c0edee3
Remove tls.[ch]
1999-04-23 20:06:01 +00:00
Stig Bakken
257de2bade
First commit of re-structuring phase one. We have started using automake in
...
sub-directories and started to move extension code into ext/<name>. For now,
I have moved the "standard" extension (which is quite a mix of everything
right now) and the GD extension into their own subdirs in ext/.
The configure script now also runs configure in the libzend directory
automatically and makes sure php4 and libzend use the same config.cache file.
To avoid running configure in libzend, use the --no-recursion option.
"make" in php4 also builds libzend now.
The Apache module doesn't compile right now, but a fix for that is
coming up.
1999-04-17 00:37:12 +00:00