1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-08 22:12:26 +02:00
Commit graph

8794 commits

Author SHA1 Message Date
Marius Vollmer
0d83cb901c *** empty log message *** 2004-09-21 00:44:29 +00:00
Marius Vollmer
0896292232 docs for scm_to_mpz and scm_from_mpz. 2004-09-21 00:43:34 +00:00
Marius Vollmer
cd0362604b Include <gmp.h> in numbers.h, not in
numbers.c.
(scm_to_mpz, scm_from_mpz): New.
Thanks to Andreas Vögele!
2004-09-21 00:42:30 +00:00
Marius Vollmer
9c0485fce2 *** empty log message *** 2004-09-21 00:10:02 +00:00
Marius Vollmer
75bfae860a * acinclude.m4 (ACX_PTHREAD): New.
* configure.in: Use it instead of simply looking for -lpthread.
Thanks to Andreas Vögele!
2004-09-21 00:09:47 +00:00
Marius Vollmer
2663421ccf *** empty log message *** 2004-09-20 23:56:37 +00:00
Marius Vollmer
ef80ed5ebc (skip_scsh_block_comment): Recognize "!#" everywhere, not just on a
line of its own.
2004-09-20 23:55:38 +00:00
Marius Vollmer
1a82a4606c (scm_string_any, scm_string_every,
scm_string_tabulate, string_upcase_x, string_down_case_x,
string_titlecase_x, string_reverse_x, scm_string_tokenize): Use
size_t instead of int for indices into strings.  Make sure that no
over- or underflow occurs.  Thanks to Andreas Vögele!
(scm_xsubstring, scm_string_xcopy_x): Use ints for 'extended'
indices, which can also be negative.
2004-09-20 22:50:31 +00:00
Marius Vollmer
b00b73f98f *** empty log message *** 2004-09-20 21:48:18 +00:00
Marius Vollmer
274acbda3f Fixed comment. 2004-09-20 21:47:41 +00:00
Marius Vollmer
b17810e6f0 (SCM_MARK_BACKING_STORE): Removed, it was unused. 2004-09-20 21:47:09 +00:00
Marius Vollmer
5915272270 (scm_threads_mark_stacks): Call SCM_MARK_BACKING_STORE. Also, do not
use stack_len local, it was only used once.
2004-09-20 21:46:07 +00:00
Marius Vollmer
55cfebdfa3 *** empty log message *** 2004-09-20 21:41:49 +00:00
Kevin Ryde
c5fa4dff01 *** empty log message *** 2004-09-15 22:33:13 +00:00
Kevin Ryde
0b8b0a3f7b (Equality): Revise for clarity. 2004-09-15 22:30:59 +00:00
Han-Wen Nienhuys
adba74f3a6 2004-09-13 Jan Nieuwenhuizen <janneke@gnu.org>
* srfi-13.c (scm_string_contains, s_scm_string_contains_ci):
	Bugfix: when subtracting unsigned values, make sure that result
	does not wrap.
2004-09-14 21:10:56 +00:00
Kevin Ryde
2bd2014d98 *** empty log message *** 2004-09-08 23:19:23 +00:00
Kevin Ryde
ce08a4012b (time-proc): Make result inexact, since format ~f doesn't
support fractions currently.
2004-09-08 23:16:53 +00:00
Kevin Ryde
1c923ba760 *** empty log message *** 2004-09-08 23:14:34 +00:00
Kevin Ryde
f6de32c817 *** empty log message *** 2004-09-08 23:04:08 +00:00
Kevin Ryde
148c3306f6 New file. 2004-09-08 22:51:08 +00:00
Kevin Ryde
f749e803fd (stream-for-each-many): Correction, should recurse into
itself, not stream-for-each-one.
2004-09-08 22:43:10 +00:00
Kevin Ryde
464ee095ff (_POSIX_C_SOURCE): Use this only on hpux, it
causes too many problems elsewhere (glibc, freebsd, mingw).  Reported
by Andreas Vögele.
2004-09-08 22:14:59 +00:00
Marius Vollmer
eb8d0af1f5 *** empty log message *** 2004-09-08 17:15:43 +00:00
Marius Vollmer
f731051e38 (EXTRA_libguile_la_SOURCES): Removed "alloca.c". 2004-09-08 17:15:21 +00:00
Marius Vollmer
31e4c69e95 Fail when alloca can not be found natively. 2004-09-08 17:15:13 +00:00
Marius Vollmer
062f47121f *** empty log message *** 2004-09-08 17:01:34 +00:00
Marius Vollmer
2325077007 Synced from libguile/ 2004-09-08 17:00:04 +00:00
Marius Vollmer
719305cfe6 (integer-expt): Updated from docstring. 2004-09-08 16:59:49 +00:00
Marius Vollmer
0b49c6452b *** empty log message *** 2004-09-08 16:20:21 +00:00
Marius Vollmer
6005b7a235 Don't expect (expt 1/2 2.0) to yield an exact result, use (expt 1/2 2)
instead.
2004-09-08 16:19:51 +00:00
Marius Vollmer
be2540fa56 (scripts_sources): Added snarf-guile-m4-docs. 2004-09-08 16:18:29 +00:00
Marius Vollmer
6ef7423a41 (CLEANFILES, MAINTAINERCLEANFILES): Moved autoconf-macros.texi to
MAINTAINERCLEANFILES.  It is in the tarball and we shouldn't clean it,
then.
2004-09-08 16:17:55 +00:00
Marius Vollmer
e548be5fe6 *** empty log message *** 2004-09-08 14:36:16 +00:00
Marius Vollmer
bdb112ea6b (expt): Only call integer-expt for an exact integer exponent, not for
an inexact integer one.  Also, let integer-expt handle negative
exponents instead of doing it here.
2004-09-08 14:34:51 +00:00
Marius Vollmer
0e12d408bd (real_eqv): Pretend that all NaNs are equal. 2004-09-08 14:32:47 +00:00
Marius Vollmer
0bafe73b5d (scm_integer_expt): Do not accept inexact integers. 2004-09-08 14:09:01 +00:00
Marius Vollmer
874fbad116 *** empty log message *** 2004-09-08 10:37:38 +00:00
Kevin Ryde
05414844e1 *** empty log message *** 2004-09-08 01:23:35 +00:00
Kevin Ryde
e456f08e24 Correction to:
(integer?): Exercise nan and +/-inf.

+/-inf should be #t.
2004-09-08 01:22:37 +00:00
Kevin Ryde
7424deab5d (port-column): Further tests, of new \a \b \r. 2004-09-08 01:20:52 +00:00
Kevin Ryde
1e35a229f0 Revert this:
(scm_integer_p): +/-inf is not an integer.
2004-09-08 01:03:06 +00:00
Marius Vollmer
616775edb7 (scm_string_trim_right, scm_string_xcopy_x): Correctly use size_t for
some locals instead of int.
2004-09-07 13:48:49 +00:00
Marius Vollmer
e7acba81f1 *** empty log message *** 2004-09-07 09:19:24 +00:00
Marius Vollmer
0520c32088 (scm_flush_ws): Detect "#!"-style comments here.
(scm_lreadr): Abort on seeing "#!", which should no longer happen.
(skip_scsh_block_comment): Use scm_input_error instead of
scm_misc_error in case of EOF.
2004-09-07 09:18:59 +00:00
Kevin Ryde
242a43b5b3 *** empty log message *** 2004-09-07 01:06:20 +00:00
Kevin Ryde
01357a75f0 (System Identification): Remove software-type, it doesn't
exist in the guile core.
2004-09-07 01:02:12 +00:00
Kevin Ryde
633acbe208 (SRFI-10): Revise and expand. 2004-09-07 01:00:25 +00:00
Kevin Ryde
5de126589a *** empty log message *** 2004-09-07 00:36:48 +00:00
Kevin Ryde
af1323c50c (Parallel Forms): In parallel, letpar, par-map,
n-par-map and n-for-each-par-map, describe each form as being in its
own thread, not a new thread, since for instance the calling thread is
used when only one form.  Plus typo in n-for-each-par-map example
equivalent for-each + n-par-map.
2004-09-07 00:33:33 +00:00