Changes discussed in the mailing list.
This commit is contained in:
parent
dc244d38be
commit
bf80cb4c37
|
@ -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
|
||||
|
||||
|
|
|
@ -89,6 +89,7 @@ Open Issues
|
|||
|
||||
Should the // operator be renamed to "div"?
|
||||
|
||||
Should the // be made into a function called "div"?
|
||||
|
||||
References
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue