1 |
|
2003-11-19 Marius Vollmer <mvo@zagadka.de> |
2 |
|
|
3 |
|
* numbers.c (mem2decimal_from_point): use scm_divide instead of |
4 |
|
scm_divide2real when forming the fractional part. This allows |
5 |
|
"#e1.2" to yield 6/5. |
6 |
|
|
7 |
|
* numbers.c (scm_i_fraction_equalp): Do not treat the return value |
8 |
|
of scm_equal_p as a C boolean, use SCM_FALSEP. Previously, all |
9 |
|
fractions were equal to each other regardless of value. Ooops. |
10 |
|
|
11 |
|
* numbers.c (scm_rationalize): Return an inexact result when given |
12 |
|
inexact arguments. |
13 |
|
|
14 |
|
* numbers.c (scm_exact_p, scm_inexact_p): Throw error for |
15 |
|
non-numbers. |
16 |
|
|
17 |
2003-11-18 Marius Vollmer <marius.vollmer@uni-dortmund.de> |
2003-11-18 Marius Vollmer <marius.vollmer@uni-dortmund.de> |
18 |
|
|
19 |
Support for exact fractions from Bill Schottstaedt! Thanks! |
Support for exact fractions from Bill Schottstaedt! Thanks! |