Changes discussed in the mailing list.

This commit is contained in:
Moshe Zadka 2001-03-19 19:36:46 +00:00
parent dc244d38be
commit bf80cb4c37
3 changed files with 7 additions and 6 deletions

View File

@ -111,6 +111,9 @@ Open Issues
Will unification of types and classes help with a more straightforward
implementations?
Define an C API that can be used to find out what the representation of an
int is.
Copyright

View File

@ -89,6 +89,7 @@ Open Issues
Should the // operator be renamed to "div"?
Should the // be made into a function called "div"?
References

View File

@ -37,15 +37,12 @@ RationalType
floats and complexes.
The following attributes will be supported: .numerator and
.denominator. The language definition will not define these other
then that:
.denominator. The language definition will promise that
r.denominator * r == r.numerator
In particular, no guarantees are made regarding the GCD or the
sign of the denominator, even though in the proposed
implementation, the GCD is always 1 and the denominator is always
positive.
that the GCD of the numerator and the denominator is 1 and that
the denominator is positive.
The method r.trim(max_denominator) will return the closest
rational s to r such that abs(s.denominator) <= max_denominator.