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

6720 commits

Author SHA1 Message Date
Thien-Thi Nguyen
faa2075ab1 *** empty log message *** 2002-05-13 10:14:42 +00:00
Thien-Thi Nguyen
3a56374157 (scripts_sources): Add api-diff and read-rfc822. 2002-05-13 10:14:06 +00:00
Thien-Thi Nguyen
a8aa1fc1a9 *** empty log message *** 2002-05-13 10:12:48 +00:00
Thien-Thi Nguyen
57737e2449 Initial revision. 2002-05-13 10:12:14 +00:00
Thien-Thi Nguyen
bbccda7e3e Update. 2002-05-12 05:29:39 +00:00
Thien-Thi Nguyen
500dc6cab2 *** empty log message *** 2002-05-12 05:15:11 +00:00
Thien-Thi Nguyen
e8604bd640 Include ../am/maintainer-dirs (in MAINTAINER_MODE).
(guile-api.alist, guile-api.alist-FORCE):
New rules (in MAINTAINER_MODE).
2002-05-12 05:14:11 +00:00
Thien-Thi Nguyen
9a9500ad2c *** empty log message *** 2002-05-12 03:47:32 +00:00
Thien-Thi Nguyen
4ab4e780c6 Use modules (ice-9 format), (ice-9 getopt-long).
Autoload module (srfi srfi-13).
No longer export `diff-alists'.

(diff, diff-alists, display-list): Remove.
(put, get, read-api-alist-file, hang-by-the-roots, diff?,
diff+note!, group-diff): New.
(api-diff): Rewrite.
2002-05-12 03:46:26 +00:00
Thien-Thi Nguyen
689c126449 Update. 2002-05-11 19:47:07 +00:00
Thien-Thi Nguyen
717bd14812 *** empty log message *** 2002-05-11 19:46:12 +00:00
Thien-Thi Nguyen
94a972ac31 (scan-api): Fix bug: No longer omit C' and Scheme' in
groups in the presence of the grouper.
2002-05-11 19:45:27 +00:00
Thien-Thi Nguyen
54352a3464 *** empty log message *** 2002-05-10 22:18:33 +00:00
Thien-Thi Nguyen
e366d58b79 (add-props): New proc.
(make-grok-proc): Renamed from `make-grok-hook'.
(make-members-proc): Renamed from `make-members-hook'.
(make-grouper): Renamed from `make-grouping-hook'.  Update callers.
Add handling for multiple grouping-defs files.
(scan-api): Add handling for multiple grouping-defs files.
Cache `symbol->string' result; adjust `sort' usage.
2002-05-10 22:17:39 +00:00
Marius Vollmer
5cb3f60097 *** empty log message *** 2002-05-10 16:39:45 +00:00
Marius Vollmer
319e6d7229 Added inclusion of "extensions.h". 2002-05-10 16:39:32 +00:00
Thien-Thi Nguyen
e0dcd99b08 Update. 2002-05-09 23:06:40 +00:00
Thien-Thi Nguyen
9327b8e633 *** empty log message *** 2002-05-09 23:06:09 +00:00
Thien-Thi Nguyen
1574685ad8 Add copyright and commentary.
(favorite): Delete this example composite.
(embedded-libltdl, gdb, coop, gh, g-fdes, r-fdes, scm, k, POSIX,
guile-C-API): New groups.
2002-05-09 23:02:52 +00:00
Marius Vollmer
e717bf46f4 *** empty log message *** 2002-05-09 19:37:55 +00:00
Marius Vollmer
a0c39db327 (format:out-inf-nan): New.
(format:out-fixed, format:out-expon, format:out-general): Use it
to print infs and nans.
2002-05-09 19:37:37 +00:00
Marius Vollmer
5c1254dae0 (unsetenv): New, for completeness. 2002-05-09 19:36:30 +00:00
Marius Vollmer
91d14235cd (Runtime Environment): Added entries for 'setenv' and 'unsetenv'. 2002-05-09 19:35:58 +00:00
Marius Vollmer
35a3c69ca9 (Numbers): Added description of the new values +inf.0, -inf.0 and
+nan.0.
2002-05-09 19:35:42 +00:00
Marius Vollmer
7b232758cd Added inf? and nan?. 2002-05-09 19:35:32 +00:00
Thien-Thi Nguyen
06dba652b0 *** empty log message *** 2002-05-09 16:28:22 +00:00
Thien-Thi Nguyen
94173d5f20 (scan-C!): Use more robust regexp. 2002-05-09 16:27:40 +00:00
Thien-Thi Nguyen
3161de0f0c Update. 2002-05-08 22:08:23 +00:00
Thien-Thi Nguyen
4c2657ed73 *** empty log message *** 2002-05-08 20:20:45 +00:00
Thien-Thi Nguyen
73b8d652ef Remove top-level `debug-enable' form. 2002-05-08 20:19:22 +00:00
Thien-Thi Nguyen
d1d0c7afa2 Add TODO comment; nfc. 2002-05-08 20:18:12 +00:00
Marius Vollmer
8766d4b5f9 *** empty log message *** 2002-05-08 20:11:37 +00:00
Marius Vollmer
96d00047de (real_eqv): New.
(scm_eqv_p): Use it when comparing reals and complexes.
2002-05-08 20:11:27 +00:00
Marius Vollmer
fc19457701 Include <string.h>, for strncmp.
(mem2complex): Do not create negative NaNs.
(scm_leq_p, scm_geq_p): Explicitely return #f when comparing a
NaN.
(scm_inexact_to_exact): Signal error when converting a NaN.
2002-05-08 20:08:16 +00:00
Marius Vollmer
9ea4ac37ed *** empty log message *** 2002-05-08 20:01:08 +00:00
Marius Vollmer
e23028a580 (format:fn-max): Increase to 400 so ~f and ~g can print long real
numbers with large positive and negative exponents.
2002-05-08 20:00:59 +00:00
Thien-Thi Nguyen
01f6637ceb Initial revision. 2002-05-08 13:16:45 +00:00
Thien-Thi Nguyen
b6c7676343 *** empty log message *** 2002-05-08 13:01:29 +00:00
Thien-Thi Nguyen
d29388060b (scan-api): Handle case where `grouping-hook' is #f. 2002-05-08 13:00:57 +00:00
Thien-Thi Nguyen
2b080aed49 *** empty log message *** 2002-05-08 12:50:22 +00:00
Thien-Thi Nguyen
ac898f8dc4 (scripts_sources): Add "scan-api". 2002-05-08 12:50:01 +00:00
Thien-Thi Nguyen
091cf411a6 Initial revision. 2002-05-08 12:49:37 +00:00
Thien-Thi Nguyen
8eb587aa52 bye bye 2002-05-08 12:45:29 +00:00
Marius Vollmer
1ee34062aa *** empty log message *** 2002-05-07 18:11:05 +00:00
Marius Vollmer
cdf52e3dce (/): Expect divison by an inexact zero to yield +inf.0. 2002-05-07 18:10:59 +00:00
Marius Vollmer
002409fe6f (scm_putenv): Handle removing variables explicitely by calling
unsetenv.
2002-05-06 22:33:52 +00:00
Marius Vollmer
1d8c3cad87 *** empty log message *** 2002-05-06 22:33:35 +00:00
Marius Vollmer
7351e20717 From John W. Eaton.
* numbers.h: Conditionally include floatingpoint.h, ieeefp.h, and
nan.h.	Provide declarations for scm_inf_p, scm_nan_p, scn_inf,
and scm_nan.
* numbers.c: [SCO && ! HAVE_ISNAN] (isnan): New function.
[SCO && ! HAVE_ISINF] (isinf): New function.
(xisinf, xisnan): New functions.
(IS_INF): Delete.
(isfinite): Define in terms of xisinf.
(scm_inf_p, scm_nan_p): New functions.
(guile_Inf, guile_NaN): New file-scope vars.
(guile_ieee_init): New function.
(scm_inf, scm_nan): New functions.
(idbl2str): Handle Inf and NaN.	Remove funny label and
corresponding gotos.
(ALLOW_DIVIDE_BY_ZERO): New macro.
(scm_divide): Allow division by zero to occur if
ALLOW_DIVIDE_BY_ZERO is defined.
Handle bignums and ints as special cases.

Additional stuff by me:

numbers.c (mem2ureal): Recognize "inf.0" and "nan.xxx".
(scm_even_p, scm_odd_p): Treat infinity as even and odd.
(iflo2str): Don't output a '+' for negative numbers or for Inf and
NaN.  They will provide their own sign.
(scm_divide): Only allow divides by inexact zeros.  Dividing by
exact zeros still signals an errors.
2002-05-06 22:33:10 +00:00
Marius Vollmer
232898d93d Conditionally include floatingpoint.h, ieeefp.h, and nan.h. Provide
declarations for scm_inf_p, scm_nan_p, scn_inf, and scm_nan.
2002-05-06 22:27:42 +00:00
Marius Vollmer
d4dba28076 *** empty log message *** 2002-05-06 22:27:06 +00:00