comparison src/data.c @ 39632:8cd74f2aa6e2

(most_positive_fixnum, most_negative_fixnum): New variables. (syms_of_data): DEFVAR_INT most-positive-fixnum and most-negative-fixnum.
author Gerd Moellmann <gerd@gnu.org>
date Sat, 06 Oct 2001 23:25:26 +0000
parents f847e069b0f6
children 00f499d0cd16
comparison
equal deleted inserted replaced
39631:3d61dd23854a 39632:8cd74f2aa6e2
93 static Lisp_Object Qcompiled_function, Qbuffer, Qframe, Qvector; 93 static Lisp_Object Qcompiled_function, Qbuffer, Qframe, Qvector;
94 static Lisp_Object Qchar_table, Qbool_vector, Qhash_table; 94 static Lisp_Object Qchar_table, Qbool_vector, Qhash_table;
95 static Lisp_Object Qsubrp, Qmany, Qunevalled; 95 static Lisp_Object Qsubrp, Qmany, Qunevalled;
96 96
97 static Lisp_Object swap_in_symval_forwarding P_ ((Lisp_Object, Lisp_Object)); 97 static Lisp_Object swap_in_symval_forwarding P_ ((Lisp_Object, Lisp_Object));
98
99 int most_positive_fixnum, most_negative_fixnum;
98 100
99 Lisp_Object 101 Lisp_Object
100 wrong_type_argument (predicate, value) 102 wrong_type_argument (predicate, value)
101 register Lisp_Object predicate, value; 103 register Lisp_Object predicate, value;
102 { 104 {
3164 defsubr (&Ssub1); 3166 defsubr (&Ssub1);
3165 defsubr (&Slognot); 3167 defsubr (&Slognot);
3166 defsubr (&Ssubr_arity); 3168 defsubr (&Ssubr_arity);
3167 3169
3168 XSYMBOL (Qwholenump)->function = XSYMBOL (Qnatnump)->function; 3170 XSYMBOL (Qwholenump)->function = XSYMBOL (Qnatnump)->function;
3171
3172 DEFVAR_INT ("most-positive-fixnum", &most_positive_fixnum,
3173 "The largest value that is representable in a Lisp integer.");
3174 most_positive_fixnum = MOST_POSITIVE_FIXNUM;
3175
3176 DEFVAR_INT ("most-negative-fixnum", &most_negative_fixnum,
3177 "The smallest value that is representable in a Lisp integer.");
3178 most_negative_fixnum = MOST_NEGATIVE_FIXNUM;
3169 } 3179 }
3170 3180
3171 SIGTYPE 3181 SIGTYPE
3172 arith_error (signo) 3182 arith_error (signo)
3173 int signo; 3183 int signo;