History log of /PHP-7.0/ext/standard/math.c (Results 126 – 150 of 241)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: SQLITE_4_3_20041227, php-5.0.3RC2, php-4.3.10RC2, php-5.0.3RC1, php-4.3.10RC1, PRE_NEW_VM_GEN_PATCH, php-5.0.2, php-4.3.9
# 31a17d90 20-Sep-2004 Wez Furlong

Enable hypot for all


Revision tags: php-5.0.2RC1, php-4.3.9RC3, PRE_ZEND_VM_DISPATCH_PATCH, php-4.3.9RC2, php-5.0.1, php-5.0.1RC2, php-4.3.9RC1, php-5.0.1RC1, RELEASE_0_1
# 56f8195f 19-Jul-2004 Andi Gutmans

- Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
used to return "" and not bool(false). It's not worth keeping it because
STR_FREE() and zval_dtor() always have

- Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
used to return "" and not bool(false). It's not worth keeping it because
STR_FREE() and zval_dtor() always have to check for it and it slows down
the general case. In addition, it seems that empty_string has been abused
quite a lot, and was used not only for setting zval's but generally in
PHP code instead of "", which wasn't the intention. Last but not least,
nuking empty_string should improve stability as I doubt every place
correctly checked if they are not mistakenly erealloc()'ing it or
calling efree() on it.
NOTE: Some code is probably broken. Each extension maintainer should
check and see that my changes are OK. Also, I haven't had time to touch
PECL yet. Will try and do it tomorrow.

show more ...


Revision tags: php-5.0.0RC4, php-5.0.0, php-4.3.8
# b9fc9a6a 10-Jun-2004 Ilia Alshanetsky

hypot() is not experimental.


Revision tags: php-5.0.0RC3, php-5.0.0RC3RC2, php-4.3.7, php-5.0.0RC3RC1, php-4.3.7RC1
# 396bf393 24-May-2004 Ilia Alshanetsky

Fixed bug #28508 (Do not make hypot() available if not supported by libc).


Revision tags: RELEASE_0_1_1
# 91e9545f 30-Apr-2004 Ilia Alshanetsky

Fixed bug #28228 (number_format() does not allow empty decimal separator).


Revision tags: php-5.0.0RC2, php-5.0.0RC2RC2, php-4.3.6, php-5.0.0RC2RC1, php-4.3.6RC3, php-4.3.6RC2, php-4.3.6RC1, php-4.3.5, php-4.3.5RC4, php-5.0.0RC1, php-5.0.0RC1RC2, php-5.0.0RC1RC1
# cc924cad 10-Mar-2004 Ard Biesheuvel

Nuke unused vars


# e6281ab3 10-Mar-2004 Ard Biesheuvel

Don't use fp arithmetic for int results
# FP arithmetic is not accurate enough on 64-bit archs
# This patch relies on ZEND_SIGNED_MULTIPLY_LONG(),
# so that should be fixed as well.


Revision tags: RELEASE_0_2_0, php-4.3.5RC3, php-5.0.0b4, php-5.0.0b4RC1, php-4.3.5RC2, RELEASE_1_3b6, php_ibase_before_split, php-4.3.5RC1
# dbeb4158 08-Jan-2004 Andi Gutmans

- A belated happy holidays and PHP 5


Revision tags: php-5.0.0b3, php-5.0.0b3RC2, php-5.0.0b3RC1
# 2a58fb80 18-Nov-2003 Ilia Alshanetsky

Fixed Bug #25694 (round() and number_format() give inconsistent results).


Revision tags: php-4.3.4, php-4.3.4RC3, php-5.0.0b2, RELEASE_2_0_0RC1, php-5.0.0b2RC1, php-4.3.4RC2, RELEASE_1_3b3, BEFORE_HANDLERS_RESHUFFLE, RELEASE_1_3b2, php-4.3.4RC1, RELEASE_0_7
# 436a0717 28-Aug-2003 Sascha Schumann

fix format strings


Revision tags: php-4.3.3, php-4.3.3RC4
# 66b910e8 09-Aug-2003 Marcus Boerger

Bugfix #24142, part 2


# 370ea1c8 08-Aug-2003 Ilia Alshanetsky

Avoid a round() bug that occurs due to over optimization of C code by gcc.
This bug was confirmed across multiple systems with gcc 2.95.3 & 3.X+


Revision tags: RELEASE_0_5_3, php-4.3.3RC3, RELEASE_0_5_2, RELEASE_1_2b5, BEFORE_ARG_INFO, php-4.3.3RC2, php-5.0.0b1, php-4.3.3RC1
# f68c7ff2 10-Jun-2003 James Cox

updating license information in the headers.


Revision tags: BEFORE_FD_REAPPLY, php-4.3.2, php-4.3.2RC4, BEFORE_FD_REVERT, php-4.3.2RC3, RELEASE_0_9b, SPL_ALPHA, php-4.3.2RC2, RELEASE_0_6, RELEASE_0_5, init
# 0e6fca4f 18-Mar-2003 Stig Bakken

* email address change


Revision tags: php-4.3.2RC1, php-4.3.1, PHP_5_0_dev_before_13561_fix, PHP_4_3_before_13561_fix
# d4e143b8 16-Jan-2003 Edin Kadribasic

Fixed bug #21648


# cf9f784e 10-Jan-2003 Wez Furlong

Fix the number format fix when the number of decimal places is 0.
# Thanks to Edin for his telepathy!


# d8fbd1ac 09-Jan-2003 Wez Furlong

Fix Bug #21523 - number_format could cause a memory allocation for a
negative memory size in situations where the sprintf implementation of the
host system generated less decimal places than

Fix Bug #21523 - number_format could cause a memory allocation for a
negative memory size in situations where the sprintf implementation of the
host system generated less decimal places than were requested.

Resolved this issue by making number_format examine the string returned
by spprintf and have it pad to the correct number of decimal places.

Added a test-case based on the bug report; the length of decimal places
required to trigger this bug is sprintf implementation dependent; as the
implementation is now using spprintf (provided by PHP), that number is
78 digits (NDIG - 2).

# I played with the idea of enhancing sprintf to do the equivalent, but
# it was too much effort considering that the precision of floats/doubles
# is not good enough to warrant it.

# This fix could do with some QA from someone else to make sure there are
# no memory bounds problems and then MFH it to PHP_4_3

show more ...


# b506f5c8 31-Dec-2002 Sebastian Bergmann

Bump year.


Revision tags: php-4.3.0, php-4.3.0RC4, RELEASE_1_0b3, php-4.3.0RC3
# 49a99a98 05-Dec-2002 Marcus Boerger

-php_error -> php_error_docref
-removed some cases where emalloc result was tested


Revision tags: php-4.3.0RC2, RELEASE_1_0b2, BEFORE_RENAMING, php-4.3.0RC1
# 3ba7df4c 12-Nov-2002 Marcus Boerger

fix warnings
#highest bit cannot be set so this must work


# f8aae870 11-Nov-2002 Jason Greene

Switch to using error_docref
# Satisfy all those named Mar[ck]us


# 5e2c75c5 11-Nov-2002 Jason Greene

Report function name when log() triggers a base warning


# 84bd2901 11-Nov-2002 Jason Greene

Add the ability to take the logarithm of any base by adding a base parameter
to log()
Added regression tests for the new form


Revision tags: php-4.3.0pre2
# 15b2e277 24-Oct-2002 Marcus Boerger

fix compiler warning


# 0bac55b4 24-Oct-2002 foobar

- If functions are not available on OS, they're not available in PHP.


12345678910