1 |
|
2002-05-06 Marius Vollmer <mvo@zagadka.ping.de> |
2 |
|
|
3 |
|
* posix.c (scm_putenv): Handle removing variables explicitely by |
4 |
|
calling unsetenv. |
5 |
|
|
6 |
|
From John W. Eaton. |
7 |
|
|
8 |
|
* numbers.h: Conditionally include floatingpoint.h, ieeefp.h, and |
9 |
|
nan.h. Provide declarations for scm_inf_p, scm_nan_p, scn_inf, |
10 |
|
and scm_nan. |
11 |
|
* numbers.c: [SCO && ! HAVE_ISNAN] (isnan): New function. |
12 |
|
[SCO && ! HAVE_ISINF] (isinf): New function. |
13 |
|
(xisinf, xisnan): New functions. |
14 |
|
(IS_INF): Delete. |
15 |
|
(isfinite): Define in terms of xisinf. |
16 |
|
(scm_inf_p, scm_nan_p): New functions. |
17 |
|
(guile_Inf, guile_NaN): New file-scope vars. |
18 |
|
(guile_ieee_init): New function. |
19 |
|
(scm_inf, scm_nan): New functions. |
20 |
|
(idbl2str): Handle Inf and NaN. Remove funny label and |
21 |
|
corresponding gotos. |
22 |
|
(ALLOW_DIVIDE_BY_ZERO): New macro. |
23 |
|
(scm_divide): Allow division by zero to occur if |
24 |
|
ALLOW_DIVIDE_BY_ZERO is defined. |
25 |
|
Handle bignums and ints as special cases. |
26 |
|
|
27 |
|
Additional stuff by me: |
28 |
|
|
29 |
|
numbers.c (mem2ureal): Recognize "inf.0" and "nan.xxx". |
30 |
|
(scm_even_p, scm_odd_p): Treat infinity as even and odd. |
31 |
|
(iflo2str): Don't output a '+' for negative numbers or for Inf and |
32 |
|
NaN. They will provide their own sign. |
33 |
|
(scm_divide): Only allow divides by inexact zeros. Dividing by |
34 |
|
exact zeros still signals an errors. |
35 |
|
|
36 |
2002-04-22 Thien-Thi Nguyen <ttn@giblet.glug.org> |
2002-04-22 Thien-Thi Nguyen <ttn@giblet.glug.org> |
37 |
|
|
38 |
* goops.h (scm_slot_exists_p): Rename from scm_slots_exists_p. |
* goops.h (scm_slot_exists_p): Rename from scm_slots_exists_p. |