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

6353 commits

Author SHA1 Message Date
Thien-Thi Nguyen
fa08b58ea8 Add bugfix item to "Eventually". 2001-09-26 02:17:12 +00:00
Gary Houston
ec10ef3942 * ports.c (scm_drain_input): extended the docstring. thanks to
Alex Schroeder and Thien-Thi Nguyen.
2001-09-25 22:59:16 +00:00
Gary Houston
4a151b3da9 * ports.c (scm_drain_input): extended the docstring. thanks to
Alex Schroeder and Thien-Thi Nguyen.
2001-09-25 22:46:13 +00:00
Mikael Djurfeldt
4f39d095cb * boot-9.scm (process-define-module): Added :re-export. 2001-09-24 11:13:43 +00:00
Mikael Djurfeldt
5d20b8c7fe * boot-9.scm (process-define-module): Added :re-export. 2001-09-24 11:12:23 +00:00
Mikael Djurfeldt
5ea2971668 * validate.h (SCM_NUM2FLOAT, SCM_NUM2DOUBLE,
SCM_VALIDATE_FLOAT_COPY, SCM_VALIDATE_DOUBLE_COPY): New
macros. (The NUM names might soon change.)
2001-09-23 21:28:05 +00:00
Mikael Djurfeldt
581ded70a3 * validate.h (SCM_NUM2FLOAT, SCM_NUM2DOUBLE,
SCM_VALIDATE_FLOAT_COPY, SCM_VALIDATE_DOUBLE_COPY): New
macros. (The NUM names might soon change.)

* numbers.h: Added missing declarations.
2001-09-23 21:25:26 +00:00
Rob Browning
e1cb298d69 * GUILE-VERSION (GUILE_MICRO_VERSION): bump for beta release. 2001-09-23 00:48:31 +00:00
Rob Browning
fe0d56fbc1 *** empty log message *** 2001-09-23 00:48:22 +00:00
Rob Browning
7c47100908 *** empty log message *** 2001-09-22 23:59:55 +00:00
Rob Browning
2ce57f0aa9 * numbers.h
(scm_num2float): prototype added.
(scm_float2num): prototype added.
(scm_num2double): prototype added.
(scm_double2num): prototype added.
2001-09-22 23:59:39 +00:00
Mikael Djurfeldt
a360a35517 * num2float.i.c: New file, multiply included by numbers.c, used
to "templatize" the float <-> num conversion routines.

* numbers.c: New functions: scm_num2float, scm_float2num,
scm_num2double, scm_double2num.
2001-09-22 21:42:14 +00:00
Mikael Djurfeldt
5437598b36 * Makefile.am: Distribute num2float.i.c.
* num2float.i.c: New file, multiply included by numbers.c, used
to "templatize" the float <-> num conversion routines.

* numbers.c: New functions: scm_num2float, scm_float2num,
scm_num2double, scm_double2num.
2001-09-22 21:39:42 +00:00
Mikael Djurfeldt
287c2ee7c2 *** empty log message *** 2001-09-22 21:35:12 +00:00
Mikael Djurfeldt
9d900ba2de * Makefile.am: Distribute num2float.i.c.
* num2float.i.c: New file, multiply included by numbers.c, used
to "templatize" the floatl <-> num conversion routines.
2001-09-22 21:33:05 +00:00
Mikael Djurfeldt
b21cccf315 * srfi-19.scm (priv:split-real): Inserted missing call to
inexact->exact.
2001-09-22 21:17:31 +00:00
Mikael Djurfeldt
7bed0fdaf0 * srfi-19.scm (priv:split-real): Inserted missing call to
inexact->exact.
2001-09-22 21:15:40 +00:00
Rob Browning
0b073f0f14 *** empty log message *** 2001-09-21 17:58:04 +00:00
Rob Browning
b469bd68a6 * .cvsignore: really add version.h 2001-09-21 17:57:07 +00:00
Rob Browning
f6b115d97e * chars.h (SCM_MAKE_CHAR): coerce value to intptr_t. 2001-09-21 17:56:39 +00:00
Rob Browning
1aaa208e93 * numbers.c (scm_gcd): change "k" to a long from an int.
Otherwise it fails on the alpha.  However, we might rather choose
this size conditionally.
2001-09-21 17:56:31 +00:00
Rob Browning
27070f900d * strings.h (SCM_SET_STRING_LENGTH): coerce "l" to a long.
Otherwise it fails on the alpha.  However, we might rather choose
this size conditionally.
2001-09-21 17:56:17 +00:00
Rob Browning
cc0ce1e764 * srfi-14.c (SCM_CHARSET_SET): need 1L, not just 1 in "<<".
(scm_char_set_hash): val needs to be long, not just unsigned.
(scm_char_set): need 1L, not just 1 in "<<".
(scm_list_to_char_set): need 1L, not just 1 in "<<".
(scm_list_to_char_set_x): need 1L, not just 1 in "<<".
(scm_list_to_char_set_x): FUNC_NAME was wrong - added a _x.
(scm_string_to_char_set): string length var needed to be
scm_sizet, not int.
(scm_string_to_char_set): need 1L, not just 1 in "<<".
(scm_string_to_char_set_x): string length var needed to be
scm_sizet, not int.
(scm_string_to_char_set_x): need 1L, not just 1 in "<<".
(scm_char_set_filter): need 1L, not just 1 in "<<".
(scm_char_set_filter_x): need 1L, not just 1 in "<<".
(scm_ucs_range_to_char_set): need 1L, not just 1 in "<<".
(scm_ucs_range_to_char_set_x): need 1L, not just 1 in "<<".
(scm_char_set_adjoin): need 1L, not just 1 in "<<".
(scm_char_set_delete): need 1L, not just 1 in "<<".
(scm_char_set_adjoin_x): need 1L, not just 1 in "<<".
(scm_char_set_delete_x): need 1L, not just 1 in "<<".
2001-09-21 17:55:07 +00:00
Rob Browning
3a868e486c * srfi-14.h (SCM_CHARSET_GET): need 1L, not just 1 in "<<". 2001-09-21 17:54:56 +00:00
Rob Browning
af297b33d8 * tests/bit-operations.test (fixnum-bit): compute dynamically. 2001-09-21 17:54:35 +00:00
Rob Browning
8b7838b558 * tests/numbers.test (fixnum-bit): compute dynamically. 2001-09-21 17:54:27 +00:00
Rob Browning
2f3b3004fb *** empty log message *** 2001-09-21 17:52:07 +00:00
Rob Browning
e83d9f0cb1 * chars.h (SCM_MAKE_CHAR): coerce value to intptr_t. 2001-09-21 17:51:01 +00:00
Rob Browning
c22a0f5570 * debug.c (debugobj_print): coerce scm_intprint arg 1 to long, not
int.
2001-09-21 17:50:53 +00:00
Rob Browning
8ed5a245b3 * error.c (scm_wta): coerce char* to intptr_t before int
assignment.
2001-09-21 17:50:45 +00:00
Rob Browning
c952c7c062 * numbers.c (scm_gcd): change "k" to a long from an int.
Otherwise it fails on the alpha.  However, we might rather choose
this size conditionally.
2001-09-21 17:50:36 +00:00
Rob Browning
0269ef1a7d * strings.h (SCM_SET_STRING_LENGTH): coerce "l" to a long.
Otherwise it fails on the alpha.  However, we might rather choose
this size conditionally.
2001-09-21 17:50:21 +00:00
Rob Browning
437424988d * srfi-14.c (SCM_CHARSET_SET): need 1L, not just 1 in "<<".
(scm_char_set_hash): val needs to be long, not just unsigned.
(scm_char_set): need 1L, not just 1 in "<<".
(scm_list_to_char_set): need 1L, not just 1 in "<<".
(scm_list_to_char_set_x): need 1L, not just 1 in "<<".
(scm_list_to_char_set_x): FUNC_NAME was wrong - added a _x.
(scm_string_to_char_set): string length var needed to be
scm_sizet, not int.
(scm_string_to_char_set): need 1L, not just 1 in "<<".
(scm_string_to_char_set_x): string length var needed to be
scm_sizet, not int.
(scm_string_to_char_set_x): need 1L, not just 1 in "<<".
(scm_char_set_filter): need 1L, not just 1 in "<<".
(scm_char_set_filter_x): need 1L, not just 1 in "<<".
(scm_ucs_range_to_char_set): need 1L, not just 1 in "<<".
(scm_ucs_range_to_char_set_x): need 1L, not just 1 in "<<".
(scm_char_set_adjoin): need 1L, not just 1 in "<<".
(scm_char_set_delete): need 1L, not just 1 in "<<".
(scm_char_set_adjoin_x): need 1L, not just 1 in "<<".
(scm_char_set_delete_x): need 1L, not just 1 in "<<".
2001-09-21 17:48:50 +00:00
Rob Browning
f477475abd * srfi-14.h (SCM_CHARSET_GET): need 1L, not just 1 in "<<". 2001-09-21 17:48:35 +00:00
Rob Browning
10f24c2903 * tests/numbers.test (fixnum-bit): compute dynamically. 2001-09-21 17:47:43 +00:00
Rob Browning
5ed969329c * tests/bit-operations.test (fixnum-bit): compute dynamically. 2001-09-21 17:47:35 +00:00
Mikael Djurfeldt
b58d997870 * numbers.c (scm_integer_expt): Accept inexact integer in second
argument.  (Thanks to Bill Schottstaedt.)
2001-09-20 19:00:26 +00:00
Mikael Djurfeldt
2830fd91c6 * numbers.c (scm_integer_expt): Accept inexact integer in second
argument.  (Thanks to Bill Schottstaedt.)
2001-09-20 18:53:32 +00:00
Rob Browning
c13f0a90f4 *** empty log message *** 2001-09-20 16:48:02 +00:00
Rob Browning
70c07eed72 * configure.in (AC_CONFIG_FILES): add libguile/version.h. 2001-09-20 16:47:41 +00:00
Rob Browning
3143f1093d * version.c
(scm_major_version): support integer *_VERSION macros.
(scm_minor_version): support integer *_VERSION macros.
(scm_micro_version): support integer *_VERSION macros.
(scm_version): support integer *_VERSION macros.
2001-09-20 16:47:01 +00:00
Rob Browning
c8333bc59d * version.h: renamed to version.h.in. 2001-09-20 16:46:52 +00:00
Rob Browning
d2836a7db6 * version.h.in: renamed from version.h.
(SCM_GUILE_MAJOR_VERSION): new public macro.
(SCM_GUILE_MINOR_VERSION): new public macro.
(SCM_GUILE_MICRO_VERSION): new public macro.
2001-09-20 16:46:37 +00:00
Rob Browning
b1bdf8ec8a * versiondat.h.in: removed (obsolete). 2001-09-20 16:46:25 +00:00
Rob Browning
567c20bdb0 *** empty log message *** 2001-09-20 16:40:22 +00:00
Rob Browning
9aca7a900a * configure.in (AC_CONFIG_FILES): add libguile/version.h. 2001-09-20 16:39:27 +00:00
Rob Browning
c300b052a5 * .cvsignore: add version.h 2001-09-20 16:39:15 +00:00
Rob Browning
06b6af64a6 *** empty log message *** 2001-09-20 16:37:52 +00:00
Rob Browning
f521126fef * version.c
(scm_major_version): support integer *_VERSION macros.
(scm_minor_version): support integer *_VERSION macros.
(scm_micro_version): support integer *_VERSION macros.
(scm_version): support integer *_VERSION macros.
2001-09-20 16:37:19 +00:00
Rob Browning
9956131678 * version.h: renamed to version.h.in. 2001-09-20 16:36:57 +00:00