History log of /php-src/ext/gmp/gmp.c (Results 251 – 275 of 279)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: php-4.3.0, php-4.3.0RC4, RELEASE_1_0b3, php-4.3.0RC3, php-4.3.0RC2, RELEASE_1_0b2, BEFORE_RENAMING, php-4.3.0RC1, php-4.3.0pre2, RELEASE_1_0b1, php-4.3.0pre1, MODERN_SYMMETRIC_SESSION_BEHAVIOUR_20021003, RELEASE_0_91, php-4.3.0dev_zend2_alpha3, php-4.2.3, php-4.2.3RC2, php-4.2.3RC1, dev, php-4.2.2, INITIAL_IMPORT_SOURCEFORGE, xmlrpc_epi_0_51_merge_pt, php-4.3.0dev_zend2_alpha2, php-4.3.0dev, php5_5_0
# 85a99fa5 09-Jun-2002 Sander Roobol

Don't use headers if the module contains only one phpinfo() entry, just
stick to ordinary rows.

Revision tags: RELEASE_0_90, php-4.3.0dev_zend2_alpha1, BEFORE_OBJECTS_STORE, SAFEGUARD_3_0_BETA1_RC1_26062002, RELEASE_0_11, NEW_UI_API_BP, RELEASE_0_10, RELEASE_0_4, php-4.3.0dev-ZendEngine2, php-4.3.0dev-ZendEngine2-Preview1, php-4.2.1, php-4.2.1RC2, php-4.2.1RC1, php-4.2.0, php-4.2.0RC4, php-4.2.0RC3
# f5b7d979 09-Apr-2002 jim winstead

Fix bug #15835.

Revision tags: php-4.2.0RC2
# bf663c97 27-Mar-2002 foobar

Fixed bug: #16237

Revision tags: php-4.2.0RC1, help
# 90613d22 28-Feb-2002 Sebastian Bergmann

Maintain headers.

Revision tags: php-4.1.2
# 6829710d 10-Feb-2002 Sean Bright

'0b' could be the beginning of a hex string (without leading '0x') so if
the user specifies base 16, use that instead.

# cc065b33 10-Feb-2002 Sean Bright

Fix for bugs #10133 and #15454.

Bug #15454 results from a bug in GMP. If you pass in a string '0xABCD' and
specify a base of 0, GMP figures out that it is hex and skips over the 0x

Fix for bugs #10133 and #15454.

Bug #15454 results from a bug in GMP. If you pass in a string '0xABCD' and
specify a base of 0, GMP figures out that it is hex and skips over the 0x
characters. If you specify base 16, then it doesn't skip those chars.
This was confirmed with the following test program:

#include <stdio.h>
#include <gmp.h>

int main()
{
char *str_one, *str_two;
mpz_t num_one, num_two;

mpz_init_set_str (num_one, "0x45", 0);
str_one = mpz_get_str(NULL, 10, num_one);

mpz_init_set_str (num_two, "0x45", 16);
str_two = mpz_get_str(NULL, 10, num_two);

printf("%s / %s\n", str_one, str_two);

mpz_clear (num_one);
mpz_clear (num_two);

return 0;
}

We now take anything that starts with 0[xX] as hexidecimal and anything
that starts 0[bB] as binary (this is what GMP does internally). We also
no longer force the base to 10 or 16, but instead let GMP decide what the
best base is, be it hex, dec, or octal.

show more ...

Revision tags: BEFORE_NEW_OBJECT_MODEL, PRE_ISSET_PATCH, php-4.1.1
# 052d5fc8 15-Dec-2001 Hartmut Holzgraefe

proto fix

Revision tags: PRE_FUNC_RETURNS_OBJECT_PATCH, ChangeLog
# 38933514 11-Dec-2001 Sebastian Bergmann

Update headers.

Revision tags: php-4.1.0, php-4.1.0RC5, php-4.1.0RC4, php-4.1.0RC3, php-4.1.0RC2, POST_PARAMETER_PARSING_API, PRE_PARAMETER_PARSING_API, php-4.1.0RC1
# 68925208 11-Oct-2001 Stig Bakken

* zend_module_entry change: apino, debug and zts are moved first,
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)

Revision tags: php4, php-4.0.7RC3, POST_SUBST_Z_MACROS, PRE_SUBST_Z_MACROS
# 78747bd2 09-Sep-2001 Derick Rethans

- Don't wrap lines... this is annoying while coding.

Revision tags: php-4.0.7RC2, php-4.0.7RC1, BEFORE_EXP_MERGE
# f6f6c4d7 11-Aug-2001 Zeev Suraski

Whitespace

# 8a7d1d8e 11-Aug-2001 foobar

ZEND macro-rename.

Revision tags: PRE_METHOD_DEREFERENCE_PATCH, BEFORE_PARAM_PARSING_CHANGE
# 63b7e5e0 07-Aug-2001 foobar

Another TSRM fix. Plus killed some compile warnings.

Revision tags: PRE_ENGINE2_SPLIT
# 02fea7ed 05-Aug-2001 Stanislav Malyshev

(gmp_init) Added extra (optional) argument to gmp_init():
a base argument which indicates the number base. E.g.:
gmp_init('1010101010',2); // feed gmp a binary value.

(gmp_init) Added extra (optional) argument to gmp_init():
a base argument which indicates the number base. E.g.:
gmp_init('1010101010',2); // feed gmp a binary value.
Patch by Troels.
@- Added optional extra argument to gmp_init(). The extra argument
@ indicates which number base gmp should use when converting a
@ string to the gmp-number. (Troels)

show more ...

# aa1772ca 31-Jul-2001 Zeev Suraski

More TSRMLS_FETCH annihilation

# 797a079a 30-Jul-2001 Zeev Suraski

More TSRMLS_FETCH work, and a bit of cleanup

# 1c25b8dd 30-Jul-2001 Zeev Suraski

Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on the way

Revision tags: PRE_TSRM_MERGE_PATCH, PRE_GRANULAR_GARBAGE_FIX, php-4.0.6, php-4.0.6RC4, php-4.0.6RC3
# 02b369e3 06-Jun-2001 Stanislav Malyshev

Make gmp compile again

# 81e2cf03 06-Jun-2001 Rasmus Lerdorf

Fix folding and clean up some extensions

# 25c3a3a3 05-Jun-2001 Rasmus Lerdorf

vim-6 does folding - clean up a bunch of missing folding tags plus
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions

Revision tags: php-4.0.6RC2
# 1beda9ee 24-May-2001 Stig Bakken

* include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build)

Revision tags: php-4.0.6RC1, php-4.0.5, php-4.0.5RC8, php-4.0.5RC7, php-4.0.5RC6, php-4.0.5RC5, php-4.0.5RC4, php-4.0.5RC3, php-4.0.5RC2, php-4.0.5RC1
# eb6ba01d 26-Feb-2001 Andi Gutmans

- Fix copyright notices with 2001

Revision tags: php-4.0.4pl1, php-4.0.4pl1RC2, php-4.0.4pl1RC1, php-4.0.4REL, php-4.0.4RC6, php-4.0.4RC5, php-4.0.4RC4
# 596c3b7f 06-Dec-2000 Stanislav Malyshev

Fix prototypes
Fix prefect_square return

# 589a66fe 05-Dec-2000 Stanislav Malyshev

Make GMP use Zend's memory functions

# 76381dbf 05-Dec-2000 Stanislav Malyshev

Fix prototypes

1...<<1112