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
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
7bed0fdaf0
* srfi-19.scm (priv:split-real): Inserted missing call to
...
inexact->exact.
2001-09-22 21:15:40 +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
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
Rob Browning
a1bc1b60e0
* 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:36:42 +00:00
Rob Browning
93798dcd73
* versiondat.h.in: removed (obsolete).
2001-09-20 16:35:21 +00:00
Mikael Djurfeldt
c0b76df451
* error.c, error.h: Made error keys globally accessible.
...
Applications might want to test for these or use them in a direct
call to scm_error.
2001-09-20 08:11:26 +00:00
Mikael Djurfeldt
e45b0d385c
* num2integral.i.c (NUM2INTEGRAL): Report an error when these
...
routines are passed an inexact. This change in behavior is
motivated by concordance with R5RS: It is more common that a
primitive doesn't want to accept an inexact for an exact.
2001-09-20 08:02:40 +00:00
Thien-Thi Nguyen
5a7f98d1ef
*** empty log message ***
2001-09-19 13:38:10 +00:00
Thien-Thi Nguyen
9e536d7256
Fix number typo in "Jump Start" section.
2001-09-19 13:37:29 +00:00
Thien-Thi Nguyen
82a8f222a5
*** empty log message ***
2001-09-19 13:22:14 +00:00
Thien-Thi Nguyen
92f87dec57
Fix improper `@result' usage.
2001-09-19 13:21:24 +00:00
Thien-Thi Nguyen
05f774ae6b
*** empty log message ***
2001-09-19 13:06:10 +00:00
Thien-Thi Nguyen
b8ddfa7fd0
Commentary fix; nfc.
2001-09-19 13:05:13 +00:00
Thien-Thi Nguyen
66300f216a
*** empty log message ***
2001-09-19 12:59:31 +00:00
Thien-Thi Nguyen
80f3ba2b9f
(process-use-modules): Fix typo.
2001-09-19 12:58:34 +00:00
Mikael Djurfeldt
e8f9e6aa3d
* Makefile.am (psyntax.pp): Reference compile-psyntax.scm in
...
$(srcdir) in order to support separate build trees.
2001-09-18 19:28:16 +00:00
Dirk Herrmann
211efb313e
* Removed function scm_gc_mark_cell_conservatively.
2001-09-17 20:25:23 +00:00
Thien-Thi Nguyen
4d81365694
Add `arity' enhancement news.
2001-09-09 01:19:08 +00:00
Thien-Thi Nguyen
019450287f
*** empty log message ***
2001-09-09 01:17:49 +00:00
Thien-Thi Nguyen
4d23670ec4
(arity): Use new `arglist' procedure property to
...
present a more detailed argument list.
2001-09-09 01:16:42 +00:00
Thien-Thi Nguyen
8d41ec9d0f
(lambda*): Record the broken-down argument list in
...
the `arglist' procedure property.
2001-09-09 01:15:53 +00:00
Thien-Thi Nguyen
dac572954a
*** empty log message ***
2001-09-08 19:34:52 +00:00
Thien-Thi Nguyen
81fe97ae29
Use `re-export-syntax'.
2001-09-08 19:34:02 +00:00
Thien-Thi Nguyen
2f2b150b42
*** empty log message ***
2001-09-08 02:38:39 +00:00
Thien-Thi Nguyen
0a16714643
("apples-blimps-catalexis example", "multiple occurances"):
...
New top-level sections.
2001-09-08 02:38:02 +00:00
Thien-Thi Nguyen
6f7db39f52
(process-options, getopt-long): Fix omission
...
bug: Handle multiple occurrances of an option.
2001-09-08 02:35:53 +00:00
Rob Browning
096b966ee1
*** empty log message ***
2001-09-05 16:12:59 +00:00
Rob Browning
105f6ec6fd
* Guile beta 1.5.2 released.
...
* GUILE-VERSION (GUILE_MICRO_VERSION): bump for beta release.
2001-09-05 16:11:44 +00:00
Rob Browning
31d6d8450a
*** empty log message ***
2001-09-05 15:54:15 +00:00