History log of /PHP-8.1/ext/standard/math.c (Results 1 – 25 of 298)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 429f20e9 16-Jul-2023 Marc Bennewitz

Prevent int overflow on $decimals in number_format

Closes GH-11714.
Closes GH-11649.


Revision tags: php-8.1.7RC1, php-8.1.4RC1, php-8.1.3, php-8.1.2RC1, php-8.1.0, php-7.3.33, php-7.3.32, php-7.3.31, php-7.3.30, php-7.3.29
# 01b3fc03 06-May-2021 KsaR

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier".
3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted.
4. fixed indentation in some files before |

show more ...


Revision tags: php-7.3.28, php-7.3.27, php-7.3.26, php-7.3.26RC1, php-7.3.25, php-7.3.25RC1, php-7.3.24, php-7.3.24RC1
# 5caaf40b 29-Sep-2020 George Peter Banyard

Introduce pseudo-keyword ZEND_FALLTHROUGH

And use it instead of comments


Revision tags: php-7.3.23, php-7.3.23RC1
# c37a1cd6 10-Sep-2020 Máté Kocsis

Promote a few remaining errors in ext/standard

Closes GH-6110


# aae50328 08-Sep-2020 Dmitry Stogov

decbin/decoct/dechex optimization.


# 4a2ae841 07-Sep-2020 Dmitry Stogov

Add "const". Move constant strings to read-only memory.


Revision tags: php-7.3.22, php-7.3.22RC1
# 9cb52216 12-Aug-2020 George Peter Banyard

Allow number_format to be only passed 3 arguments

Closes GH-5977


# af80d8a1 05-Aug-2020 Máté Kocsis

Add more argument types to stubs

Closes GH-5943


Revision tags: php-7.3.21, php-7.3.21RC1, php-7.3.20
# 2b5de6f8 01-Jul-2020 Max Semenik

Remove proto comments from C files

Closes GH-5758


Revision tags: php-7.3.20RC1, php-7.3.19
# 88355dd3 07-Jun-2020 twosee

Constify char * arguments of APIs

Closes GH-5676.


Revision tags: php-7.4.7RC1, php-7.3.19RC1, php-7.3.18RC1
# 6111d64c 16-Apr-2020 Máté Kocsis

Improve a last couple of argument error messages

Closes GH-5404


Revision tags: php-7.2.30, php-7.3.17, php-7.3.17RC1, php-7.3.18, php-7.3.16, php-7.3.16RC1
# bb6f3740 24-Feb-2020 Máté Kocsis

Improve argument error messages in ext/standard

Closes GH-5198


Revision tags: php-7.3.15RC1, php-7.3.15, php-7.3.14, php-7.3.14RC1
# 7b4a4d2a 03-Jan-2020 Máté Kocsis

Use RETURN_THROWS() after try_convert_to_string()


# 01a50778 02-Jan-2020 Máté Kocsis

Use RETURN_THROWS() after zend_throw_exception() in most of the extensions


# 31cf9a7e 29-Dec-2019 Máté Kocsis

Use RETURN_THROWS() when an exception is thrown

Closes GH-5036


# e34a1f92 29-Dec-2019 Máté Kocsis

Convert zend_parse_parameters_none() to fast ZPP in standard lib

Closes GH-5037


Revision tags: php-7.3.13, php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25
# 04deb532 20-Nov-2019 Máté Kocsis

Promote warning to exception in log() function


# 2d0b0d64 20-Nov-2019 George Peter Banyard

Remove unnecessary C99 checks for maths functions


Revision tags: php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1
# 6719d3e7 29-Oct-2019 Nikita Popov

Add Z_PARAM_STRING/ARRAY_OR_NULL convenience macros


# c43179fb 29-Oct-2019 Nikita Popov

Promote base_convert "invalid base" errors to ValueError


# 8f20b996 29-Oct-2019 Nikita Popov

Expect number argument in round()


Revision tags: php-7.4.0RC5
# 9d48bf51 27-Oct-2019 Tyson Andre

Fix miscellaneous typos in docs and error messages

Closes GH-4863.


Revision tags: php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1
# e35bdb49 02-Oct-2019 Nikita Popov

Add fdiv() function

The fdiv() function is part of the fmod() / intdiv() family. It
implements a floating-point division with IEEE-754 semantics.
That is, division by zero is conside

Add fdiv() function

The fdiv() function is part of the fmod() / intdiv() family. It
implements a floating-point division with IEEE-754 semantics.
That is, division by zero is considered well-defined and does not
trigger any kind of diagnostic. Instead one of INF, -INF or NAN
will be returned, depending on the case.

This is in preparation for throwing DivisionByZeroError from the
standard division operator.

show more ...


# 95181553 07-Oct-2019 Gabriel Caruso

Add missing zend_parse_parameters_none() checks

Closes GH-4796.


Revision tags: php-7.4.0RC3
# 5d6e923d 24-Sep-2019 Gabriel Caruso

Remove mention of PHP major version in Copyright headers

Closes GH-4732.


12345678910>>...12