1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-05 06:50:21 +02:00
Commit graph

8572 commits

Author SHA1 Message Date
Kevin Ryde
d4611024b6 *** empty log message *** 2003-05-12 23:21:37 +00:00
Kevin Ryde
b127c712ea (xmpz_cmp_d): New macro, handling infs if gmp doesn't.
(scm_num_eq_p, scm_less_p, scm_max, scm_min): Use it.
2003-05-12 23:16:43 +00:00
Kevin Ryde
8ec84fe54e (delete, delete!): Test predicate call arg order. 2003-05-12 23:05:50 +00:00
Kevin Ryde
a658e41bee *** empty log message *** 2003-05-12 23:04:23 +00:00
Kevin Ryde
56adbd75d4 (delete): Fix predicate arg order to match srfi-1 spec. 2003-05-12 23:02:01 +00:00
Mikael Djurfeldt
dfd03fb91b * backtrace.c (scm_display_error_message): Introduced fancy
printing with max level 7 and length 10.  (Purpose: avoid printing
gigantic objects in error messages.)

* print.c, print.h (scm_i_port_with_print_state): New function.

* print.c (scm_iprin1, scm_printer_apply,
scm_port_with_print_state): Use scm_i_port_with_print_state.
(scm_simple_format): Modified not to destroy print states.
(print_state_mutex): New mutex.
(scm_make_print_state, scm_free_print_state, scm_prin1):
Lock/unlock print_state_mutex.
2003-05-12 20:46:52 +00:00
Mikael Djurfeldt
7aaf8dc9f7 (SCM_GC8MARKP, SCM_SETGC8MARK, SCM_CLRGC8MARK):
Use current names in definitions.
2003-05-12 16:29:45 +00:00
Kevin Ryde
c72e11e605 *** empty log message *** 2003-05-11 23:12:45 +00:00
Kevin Ryde
457a4e812b (CC_FOR_BUILD): Use AC_ARG_VAR. 2003-05-11 23:12:18 +00:00
Kevin Ryde
a9e0a8afb3 (SCM_SINGLES): Use AC_CHECK_SIZEOF(float), to
eliminated guess-yes when cross compiling.
2003-05-11 23:03:57 +00:00
Kevin Ryde
332a621be7 *** empty log message *** 2003-05-11 22:40:25 +00:00
Kevin Ryde
63226e80ef (Handling Errors): Fix regexp error key, should
be `regular-expression-syntax'.
2003-05-11 22:37:40 +00:00
Kevin Ryde
4b83d327ec (Loading Readline Support, Readline Options):
Index entries for readline functions.
2003-05-11 22:31:31 +00:00
Kevin Ryde
a660f54585 (Guile License): Refer to COPYING.LIB. 2003-05-11 22:26:43 +00:00
Kevin Ryde
614e70e056 *** empty log message *** 2003-05-11 22:25:16 +00:00
Kevin Ryde
d4628c57ec (SCM_I_GSC_STACK_GROWS_UP): Fix missing comma in AC_TRY_RUN. 2003-05-11 22:10:23 +00:00
Kevin Ryde
056f9269e2 *** empty log message *** 2003-05-10 03:59:06 +00:00
Kevin Ryde
d6f53bd5c2 (m): New macro. 2003-05-10 03:58:37 +00:00
Kevin Ryde
d25e96a4b7 *** empty log message *** 2003-05-10 01:23:53 +00:00
Kevin Ryde
43bc657a46 (Handling Errors): Index entries for error keys. 2003-05-10 01:18:29 +00:00
Kevin Ryde
7f5efb18b8 (Bitwise Operations): Note negatives are treated as
infinite precision twos complement.  Revise `ash' to emphasise this
for right shifts of negatives.  Describe integer-length behaviour on
negatives.  Add `...' to logand, logior, logxor since they take
multiple parameters.
2003-05-10 01:11:58 +00:00
Kevin Ryde
6cced6fea8 *** empty log message *** 2003-05-10 00:39:32 +00:00
Kevin Ryde
a3e013683a (file-commentary, find-documentation-in-file): Use
call-with-input-file, to close ports when done.
2003-05-10 00:38:24 +00:00
Kevin Ryde
c851e00339 (Reals and Rationals): Fix typo @result{#f}, and
put @result outside @code.
2003-05-10 00:29:48 +00:00
Kevin Ryde
4f3deff49a *** empty log message *** 2003-05-10 00:23:50 +00:00
Kevin Ryde
db386f80d1 (gcd): Exercise bignum/inum with a bignum not
fitting a ulong.
2003-05-10 00:23:00 +00:00
Kevin Ryde
8c5b0afcbf (scm_gcd): In bignum/inum, don't pass yy==0 to mpz_gcd_ui
since we're only using the ulong return value, and x might not fit.
2003-05-10 00:20:05 +00:00
Kevin Ryde
a04a3604c2 (integer-length): Exercise some negatives, in
particular -2^n which is ...11100..00.
2003-05-10 00:10:40 +00:00
Kevin Ryde
2cfcaed525 (=, <): Add tests involving NaNs. 2003-05-10 00:07:34 +00:00
Kevin Ryde
2c57607ca8 (scm_integer_length): On negative bignums, adjust
mpz_sizeinbase to account for it looking at absolute value where we
want ones-complement.
2003-05-10 00:05:51 +00:00
Kevin Ryde
a4d9ffa1ed *** empty log message *** 2003-05-09 23:20:03 +00:00
Kevin Ryde
2b031f4f65 (scm_num_eq_p, scm_less_p): Don't pass NaN to mpz_cmp_d. 2003-05-09 23:14:35 +00:00
Kevin Ryde
9cb16d5ddf *** empty log message *** 2003-05-09 23:09:30 +00:00
Kevin Ryde
f8a6b8be67 (Handling Errors): Revise C support section to
get index entries, and clarify parameters.  Remove scm_regex_error, no
longer exists and wasn't available to applications.
2003-05-09 23:08:57 +00:00
Kevin Ryde
9c8721b55e *** empty log message *** 2003-05-09 22:43:00 +00:00
Kevin Ryde
d31350ff35 * tests/srfi-1.test: New file, exercising take and drop.
* Makefile.am (SCM_TESTS): Add it.
2003-05-09 22:42:00 +00:00
Kevin Ryde
91e7199ff0 New file, exercising take and drop. 2003-05-09 22:41:06 +00:00
Kevin Ryde
4dd6bd8431 (take): Make this an alias for list-head.
(drop): Make this an alias for list-tail.
2003-05-09 22:38:54 +00:00
Kevin Ryde
80dd1cb056 *** empty log message *** 2003-05-08 01:06:59 +00:00
Kevin Ryde
0c935fced8 *** empty log message *** 2003-05-08 01:03:51 +00:00
Kevin Ryde
e222111b83 (Bitwise Operations): Fix lognot to ones-complement. 2003-05-08 01:03:25 +00:00
Kevin Ryde
49584bf2b0 *** empty log message *** 2003-05-08 00:44:27 +00:00
Kevin Ryde
a60cb893d4 * slib.texi (JACAL): Fix @ref title.
Add index entries, use @file and @code variously.
2003-05-08 00:41:16 +00:00
Dirk Herrmann
5bf6a6f0f3 * eval.c, eval.h, read.c, read.h (scm_sym_dot): Moved from eval to
read.  This will allow to make the definition in read.c static.
2003-05-06 20:17:26 +00:00
Dirk Herrmann
f58c472a84 * eval.c, eval.h, evalext.c, evalext.h (scm_m_undefine): Moved
from evalext to eval.  This will allow to make some of the
	definitions in eval.c static.
2003-05-06 20:05:04 +00:00
Kevin Ryde
d963e93f3b *** empty log message *** 2003-05-06 00:37:57 +00:00
Kevin Ryde
90382aebf6 *** empty log message *** 2003-05-06 00:30:38 +00:00
Kevin Ryde
67cc8e6901 (C level thread interface): Use @deftypefn
not @deftypefun, to get function names (not types) indexed.
2003-05-05 23:09:48 +00:00
Kevin Ryde
300c6a76b3 (logcount): New tests, exercising some negatives. 2003-05-05 23:04:02 +00:00
Kevin Ryde
c78b590e56 (scm_logcount): Use mpz_com, not mpz_neg. 2003-05-05 23:01:30 +00:00