On 30/06/06, Albert Graef <Dr....@t-...> wrote:
> Dear All,
>
> The new release includes Q+Q 0.9, and the latest documentation for Q+Q
> can now be found on http://q-lang.sf.net/documentation.html. (Rob, if
> you read this, please feel free to follow up with a closer description
> of what is new and improved in this Q+Q release.)
Hello,
In Q+Q 0.9:
(the bulk of the changes are in the documentation or maintenance)
* Added a few new functions
* The val_eng_[interval|approx]_[epsilon|max_den] set is now complete
(string->rational approximation functions)
* comp_simplify completes the set {rat_simplify, ratcomp_simplify}
(type simplification)
* `decompositions' num, den, num_den extended
to rational complex numbers
* Minor bug fixes / changes corresponding to changes to Q, e.g.
* corrections involving (/) versus (%) and (^) versus pow
* Improved support for intervals
* Documentation:
* More examples
* Indicated whether functions are in the default prelude throughout
* Documented the few new functions
* Some typos corrected
Q+Q 0.9 is a "beta" version. I have not done as much testing a I would like.
The rational utilities file contains some TODOs, which I need to review. I am
now relatively happy with the public interface for this module; I don't now
expect to make changes to that -- at least not anything major.
I hope to have a version 1.0 in the not too distant future. There are some
functions that remain to be written. There are some further improvements
required in the documentation.
There are also some known minor bugs:
* When converting a "decimal expansion" string to a rational,
out-of-bounds digits are not detected. E.g.:
==> val_real_eng format_uk 10 "1.0*10^0"
1%1 // this is correct
==> val_real_eng format_uk 10 "1.0e0" // used "e" rather than "*10^"
73%50 // whoops: "e" treated as digit 46
* The interval routines do not return a zero-size interval
when a value is approximated exactly. E.g.:
==> rational_interval_max_den 100 (4 * atan 1) // (pi)
interval (311%99,22%7) // correct
==> rational_interval_max_den 100 (22%7)
interval (311%99,22%7) // should be interval (22%7, 22%7)
Any comments on rational.q, ratutils.q, interval.q or the documentation
(rational.pdf) welcome. Please let me know of any other bugs you encounter, or
of anything you think could be explained better in the documentation, or even
of anything you think is missing from the module or documentation.
Thanks,
Rob.
|