Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - A belated happy holidays and PHP 5 | Andi Gutmans | 2004-01-08 | 1 | -2/+2 |
| | |||||
* | Fixed Bug #25694 (round() and number_format() give inconsistent results). | Ilia Alshanetsky | 2003-11-18 | 1 | -10/+17 |
| | |||||
* | fix format strings | Sascha Schumann | 2003-08-28 | 1 | -2/+2 |
| | |||||
* | Bugfix #24142, part 2 | Marcus Boerger | 2003-08-09 | 1 | -1/+7 |
| | |||||
* | Avoid a round() bug that occurs due to over optimization of C code by gcc. | Ilia Alshanetsky | 2003-08-08 | 1 | -2/+4 |
| | | | | | This bug was confirmed across multiple systems with gcc 2.95.3 & 3.X+ | ||||
* | updating license information in the headers. | James Cox | 2003-06-10 | 1 | -3/+3 |
| | |||||
* | * email address change | Stig Bakken | 2003-03-18 | 1 | -1/+1 |
| | |||||
* | Fixed bug #21648 | Edin Kadribasic | 2003-01-16 | 1 | -1/+1 |
| | |||||
* | Fix the number format fix when the number of decimal places is 0. | Wez Furlong | 2003-01-10 | 1 | -8/+15 |
| | | | | | # Thanks to Edin for his telepathy! | ||||
* | Fix Bug #21523 - number_format could cause a memory allocation for a | Wez Furlong | 2003-01-09 | 1 | -18/+52 |
| | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Bump year. | Sebastian Bergmann | 2002-12-31 | 1 | -1/+1 |
| | |||||
* | -php_error -> php_error_docref | Marcus Boerger | 2002-12-05 | 1 | -4/+8 |
| | | | | | -removed some cases where emalloc result was tested | ||||
* | fix warnings | Marcus Boerger | 2002-11-12 | 1 | -1/+1 |
| | | | | | #highest bit cannot be set so this must work | ||||
* | Switch to using error_docref | Jason Greene | 2002-11-11 | 1 | -1/+1 |
| | | | | | # Satisfy all those named Mar[ck]us | ||||
* | Report function name when log() triggers a base warning | Jason Greene | 2002-11-11 | 1 | -1/+1 |
| | |||||
* | Add the ability to take the logarithm of any base by adding a base parameter | Jason Greene | 2002-11-11 | 1 | -9/+25 |
| | | | | | | to log() Added regression tests for the new form | ||||
* | fix compiler warning | Marcus Boerger | 2002-10-24 | 1 | -1/+1 |
| | |||||
* | - If functions are not available on OS, they're not available in PHP. | foobar | 2002-10-24 | 1 | -15/+10 |
| | |||||
* | Make PHP compile out-of-the-box with uClibc | Sascha Schumann | 2002-10-24 | 1 | -0/+10 |
| | |||||
* | hopefully silence compile warnings on Solaris related to HUGEVAL being | Sterling Hughes | 2002-10-15 | 1 | -2/+3 |
| | | | | | | | | undefined.. HUGEVAL is defined (well the manual would indicate so) in stdlib.h, not math.h. Bug #: 19807 | ||||
* | peek at freebsd's libc and fix _php_math_basetozval | Sascha Schumann | 2002-10-04 | 1 | -15/+24 |
| | | | | | PR: #19733 | ||||
* | - argh... this is getting annoying | Derick Rethans | 2002-09-06 | 1 | -2/+0 |
| | |||||
* | NetWare related changes/modifications | Anantha Kesari H Y | 2002-09-06 | 1 | -2/+4 |
| | |||||
* | php_error_docref | Marcus Boerger | 2002-08-24 | 1 | -2/+1 |
| | | | | | #New conversion available at: http://docref.txt.marcus-boerger.de | ||||
* | ZTS fix. | Edin Kadribasic | 2002-06-18 | 1 | -2/+2 |
| | |||||
* | Check for +/- infinity in base_convert (bug #14807). | Edin Kadribasic | 2002-06-18 | 1 | -0/+7 |
| | |||||
* | - Fix for bug #14966 | Derick Rethans | 2002-04-01 | 1 | -1/+1 |
| | |||||
* | Fix thread-safe build. | Sebastian Bergmann | 2002-03-11 | 1 | -2/+2 |
| | |||||
* | handle numeric strings. this means we're less picky about the argument | jim winstead | 2002-03-10 | 1 | -7/+4 |
| | | | | | types, but the math functions aren't generally that picky. | ||||
* | php has no 'double', only 'float' | Hartmut Holzgraefe | 2002-03-02 | 1 | -8/+8 |
| | |||||
* | Maintain headers. | Sebastian Bergmann | 2002-02-28 | 1 | -3/+3 |
| | |||||
* | Added fmod() function | Yasuo Ohgaki | 2002-02-21 | 1 | -0/+15 |
| | | | | | # Is there any reason that math.c does not use errno? | ||||
* | These are now defined in zend_config.w32.h. | Jon Parise | 2002-01-28 | 1 | -5/+0 |
| | |||||
* | zend_isinf() is already defined in Zend/zend_config.w32.h for Win32. | Jon Parise | 2002-01-27 | 1 | -1/+0 |
| | |||||
* | Use the zend_* versions of finite(), isinf(), and isnan(), as defined | Jon Parise | 2002-01-27 | 1 | -7/+7 |
| | | | | | | | | in php_config.h. Redefine the zend_* versions in the case of Win32. This fixes the build on systems that don't provide a native version of, say, isinf() (e.g. Solaris). | ||||
* | Rename finite/isinf/isnan to more standard is_*() names. | jim winstead | 2002-01-09 | 1 | -6/+6 |
| | |||||
* | Fix the Win32 compile. | jim winstead | 2002-01-05 | 1 | -0/+6 |
| | |||||
* | Fixed some protos. | Egon Schmid | 2002-01-05 | 1 | -30/+25 |
| | |||||
* | Apparently multi_convert_to_double_ex() didn't quite do what I | jim winstead | 2002-01-05 | 1 | -3/+4 |
| | | | | | thought. Still need to handle numeric strings. | ||||
* | Fixed pow(), and added finite(), isinf(), and isnan(). Also fixed | jim winstead | 2002-01-05 | 1 | -96/+65 |
| | | | | | | | | | | | | pow() tests. @- Fixed pow(), and added finite(), isinf(), and isnan(). (Jim) # Jeroen was on crack, and apparently flunked arithmetic. Names of new # functions subject to change if people get persnickety about them. # (They're currently the same as the underlying C library function # names. Hope nobody forgets to update the tests if they change the # names.) # Oh, and pow() uses the new parameter-passing API now. | ||||
* | - Let ceil also return a float in every case | Derick Rethans | 2001-12-22 | 1 | -1/+2 |
| | |||||
* | - Fix for bug #14646, floor() always returns a float now. | Derick Rethans | 2001-12-21 | 1 | -2/+2 |
| | |||||
* | - Fix for bug #14544, bogus warning in pow() | Derick Rethans | 2001-12-16 | 1 | -1/+1 |
| | | | | | #- I think I do not need to tell who screwed this up.... | ||||
* | Update headers. | Sebastian Bergmann | 2001-12-11 | 1 | -2/+2 |
| | |||||
* | Make _php_math_number_format available from shared extensions | Frank M. Kromann | 2001-12-03 | 1 | -4/+1 |
| | |||||
* | 5th and probably/hopefully last run of conv_z_macros | Jeroen van Wolffelaar | 2001-09-26 | 1 | -1/+1 |
| | |||||
* | proto fixes "double" -> "float" | Hartmut Holzgraefe | 2001-09-21 | 1 | -27/+27 |
| | |||||
* | Rework some string-to-number and vice-versa functions to work smarter | Sascha Schumann | 2001-09-20 | 1 | -66/+38 |
| | | | | | | (e.g. without using functions that use slow locales, without allocating extra memory and with fewer integer/float operations) | ||||
* | quickly fix newly introdued off-by-one | Sascha Schumann | 2001-09-19 | 1 | -1/+1 |
| | |||||
* | Rewrite _php_match_basetozval to need only one multiplication | Sascha Schumann | 2001-09-19 | 1 | -31/+27 |
| | | | | | per iteration and avoid the U?LONG_MAX hassle. |