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
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
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
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
Dirk Herrmann
211efb313e
* Removed function scm_gc_mark_cell_conservatively.
2001-09-17 20:25:23 +00:00
Michael Livshin
5de4485a4d
* numbers.c (scm_sys_check_number_conversions): new function,
...
defined if Guile is compiled in debugging mode. currently checks
`scm_num2ulong', should check much much more.
* num2integral.i.c (NUM2INTEGRAL): when converting a bignum to
unsigned, ensure that it's positive. thanks to Martin Baulig!
2001-09-01 17:17:07 +00:00
Marius Vollmer
d877cf50d6
*** empty log message ***
2001-08-26 21:49:49 +00:00
Marius Vollmer
206a1bd8d7
Replaced "scm_t_portable" with "scm_port_table" which was an artifact
...
from the great "scm_*_t -> scm_t_" renaming.
2001-08-26 21:49:32 +00:00
Thien-Thi Nguyen
8423ceea62
*** empty log message ***
2001-08-25 18:37:31 +00:00
Thien-Thi Nguyen
0b9f43f5b2
(SCM_VALIDATE_USHORT_COPY, SCM_VALIDATE_SHORT_COPY,
...
SCM_VALIDATE_UINT_COPY, SCM_VALIDATE_INT_COPY): New macros.
Thanks to Chris Cramer.
2001-08-25 18:31:56 +00:00
Thien-Thi Nguyen
5bae771731
(GC_noop1): Move before `GC_find_limit' where it is used; nfc.
...
Thanks to Bill Schottstaedt.
2001-08-25 18:31:17 +00:00
Thien-Thi Nguyen
bf99aa6c4f
*** empty log message ***
2001-08-24 22:27:38 +00:00
Thien-Thi Nguyen
8025d1d412
*** empty log message ***
2001-08-18 00:06:33 +00:00
Thien-Thi Nguyen
48578ab1c7
Fix omission bug: Add `heap_segment' forward decl
...
(proto) in the case when either `GUILE_DEBUG' or
`GUILE_DEBUG_FREELIST' preprocessor symbols are defined.
(map_free_list): Fix typo: Ref `f' correctly.
Thanks to Chris Cramer.
2001-08-18 00:00:37 +00:00
Rob Browning
5f86665feb
*** empty log message ***
2001-08-16 03:31:53 +00:00
Rob Browning
9e6f140aea
* Makefile.am (libguile_la_LDFLAGS): use libtool interface version
...
variables.
(libpath.h): change libguileversion to libguileinterface.
2001-08-16 03:30:36 +00:00
Marius Vollmer
93e823e5c7
*** empty log message ***
2001-08-07 18:13:17 +00:00
Marius Vollmer
91d05ea355
(EXTRA_DIST): Distribute ChangeLog-1996-1999 and ChangeLog-2000.
...
Thanks to Daniel Skarda!
2001-08-07 18:12:43 +00:00
Michael Livshin
d9cccf110a
* guile-snarf-docs-texi.in: don't call the tokenizer here, we now
...
do it from the Makefile.
* Makefile.am: rearrange the snarfing slightly, so that .doc files
are of a reasonable size.
2001-08-06 23:28:38 +00:00
Marius Vollmer
b8117b36d2
*** empty log message ***
2001-08-01 21:26:11 +00:00
Marius Vollmer
b6f657ad55
(scm_char_alphabetic_p, scm_char_numeric_p, scm_char_whitespace_p,
...
scm_char_upper_case_p, scm_char_lower_case_p, scm_char_is_both_p): Do
not require characters to fulfill isascii in addition to the primary
predicate.
2001-08-01 21:25:16 +00:00
Marius Vollmer
50694746a3
*** empty log message ***
2001-07-26 16:58:00 +00:00
Marius Vollmer
429e955781
(GC_noop1): Moved into the same #if/#endif context where it is needed.
2001-07-26 16:57:27 +00:00
Gary Houston
e3fc0809bb
* numbers.c (scm_logand, scm_logior, scm_logxor): adjusted the
...
docstrings to reflect the n-ary implementation.
2001-07-25 22:39:44 +00:00
Marius Vollmer
b8a42df3f1
*** empty log message ***
2001-07-22 18:36:33 +00:00
Marius Vollmer
a217c6e523
* tags.h: Include inttypes.h when we have it.
...
* tags.h (SCM_UNBOUND): Make it the 34th isym/iflag, the 33th slot os
taken by the new SCM_IM_CALL_WITH_VALUES.
* print.c (scm_isymnames): Update table accordingly.
2001-07-22 18:36:18 +00:00
Marius Vollmer
f13dd5f1f5
* tags.h (SCM_UNBOUND): Make it the 34th isym/iflag, the 33th slot os
...
taken by the new SCM_IM_CALL_WITH_VALUES.
* print.c (scm_isymnames): Update table accordingly.
2001-07-22 18:35:51 +00:00
Gary Houston
d41a4e1c9e
* regex-posix.c (s_scm_regexp_exec): use scm_long2num not
...
SCM_MAKINUM to convert regoff_t value to SCM.
2001-07-22 12:50:04 +00:00
Gary Houston
f6fb4771bc
* scmsigs.c: include sys/time.h for itimer stuff.
2001-07-21 21:12:04 +00:00
Martin Grabmüller
226be35413
* alist.c, arbiters.c, async.h, backtrace.h, boolean.c, chars.c,
...
chars.h, continuations.h, debug-malloc.h, dynl.c, feature.c,
feature.h, filesys.h, fluids.h, fports.h, gc_os_dep.c,
gdb_interface.h, gh_eval.c, gh_funcs.c, gh_io.c, gh_list.c,
gh_predicates.c, gsubr.c, gsubr.h, guardians.h,
guile-func-name-check.in, guile-snarf-docs-texi.in,
guile-snarf-docs.in, guile-snarf.awk.in, guile-snarf.in,
hashtab.h, iselect.h, keywords.h, lang.c, list.h, load.h,
objprop.c, objprop.h, options.c, options.h, random.h,
regex-posix.h, root.c, root.h, script.c, snarf.h, stackchk.c,
strerror.c, strop.h, strports.h, threads.h, values.c, values.h,
version.c, version.h: Updated copyright notice.
2001-07-19 21:28:54 +00:00
Rob Browning
03fcb7d6bb
*** empty log message ***
2001-07-19 17:36:22 +00:00
Rob Browning
efcf4b5853
* c-tokenize.lex: add option %nounput to quiet warning.
...
Add prototype for yylex to quiet warning.
2001-07-19 17:34:47 +00:00
Rob Browning
cc1cd86b05
* gc_os_dep.c (GC_noop1): ifdef out (unused) to quiet warning.
2001-07-19 17:34:37 +00:00