comparison src/ChangeLog @ 4886:1e9078742fa7

Merge.
author Aidan Kehoe <kehoea@parhasard.net>
date Tue, 26 Jan 2010 15:16:31 +0000
parents f730384b8ddf 6772ce4d982b
children c27efc9acb5a
comparison
equal deleted inserted replaced
4884:29fb3baea939 4886:1e9078742fa7
3 * number.c (Fnumerator, Fdenominator, Fcanonicalize_number): 3 * number.c (Fnumerator, Fdenominator, Fcanonicalize_number):
4 Be more careful to return integers in their canonical forms here, 4 Be more careful to return integers in their canonical forms here,
5 and to give the same answer all the time when treating a rational 5 and to give the same answer all the time when treating a rational
6 that is itself is an integer as a ratio. 6 that is itself is an integer as a ratio.
7 7
8 2010-01-24 Aidan Kehoe <kehoea@parhasard.net>
9
10 Fix problems with #'eql, extended number types, and the hash table
11 implementation; change the Bintegerp bytecode to fixnump semantics
12 even on bignum builds, since #'integerp can have a fast
13 implementation in terms of #'fixnump for most of its extant uses,
14 but not vice-versa.
15
16 * lisp.h: Always #include number.h; we want the macros provided in
17 it, even if the various number types are not available.
18 * number.h (NON_FIXNUM_NUMBER_P): New macro, giving 1 when its
19 argument is of non-immediate number type. Equivalent to FLOATP if
20 WITH_NUMBER_TYPES is not defined.
21
22 * elhash.c (lisp_object_eql_equal, lisp_object_eql_hash):
23 Use NON_FIXNUM_NUMBER_P in these functions, instead of FLOATP,
24 giving more correct behaviour in the presence of the extended
25 number types.
26 * bytecode.c (Bfixnump, execute_optimized_program):
27 Rename Bintegerp to Bfixnump; change its semantics to reflect the
28 new name on builds with bignum support.
29
30 * data.c (Ffixnump, Fintegerp, syms_of_data, vars_of_data):
31 Always make #'fixnump available, even on non-BIGNUM builds;
32 always implement #'integerp in this file, even on BIGNUM builds.
33 Move most-positive-fixnum, most-negative-fixnum here from
34 number.c, so they are Lisp constants even on builds without number
35 types, and attempts to change or bind them error.
36 Use the NUMBERP and INTEGERP macros even on builds without
37 extended number types.
38 * data.c (fixnum_char_or_marker_to_int):
39 Rename this function from integer_char_or_marker_to_int, to better
40 reflect the arguments it accepts.
41
42 * number.c (Fevenp, Foddp, syms_of_number):
43 Never provide #'integerp in this file. Remove #'oddp,
44 #'evenp; their implementations are overridden by those in cl.el.
45 * number.c (vars_of_number):
46 most-positive-fixnum, most-negative-fixnum are no longer here.
47
48 >>>>>>> other
8 2010-01-17 Vin Shelton <acs@xemacs.org> 49 2010-01-17 Vin Shelton <acs@xemacs.org>
9 50
10 * fileio.c (check_writable): Remove cast from 2010-01-14 51 * fileio.c (check_writable): Remove cast from 2010-01-14
11 52
12 * syswindows.h: Use consts in macros where appropriate in lieu of 53 * syswindows.h: Use consts in macros where appropriate in lieu of