Commit Graph

8 Commits

Author SHA1 Message Date
Xiaodi Wu a4a9ac7368 Define an exponentiation operator 2017-08-27 00:19:57 -05:00
Xiaodi Wu 7130751257 Update generic algorithms for revised integer protocols [NFC] (#9)
* Improve wording in a doc comment [NFC]

* Improve wording in a doc comment [NFC]

* Update generic algorithms for changes to SE-0104

* Update .travis.yml and some doc comments
2017-08-11 21:36:35 -05:00
Xiaodi Wu 0a6a45a9d5 Expand testing based on code coverage reporting (#8)
This PR adds tests to improve code coverage. In addition:

* The implementation of `Rational.isProper is corrected` for negative values.


* Add tests for Float and Double extensions

* Adjust accuracy for Glibc

* Add tests for RNG initialization using device entropy

* Expand testing of Rational and fix implementation of Rational.isProper

* Further expand testing of Rational

* Expand tests for Float and Double extensions

* Expand tests for Rational

* Adjust accuracy for Glibc

* Expand tests for Float and Double extensions

* Adjust accuracy for Glibc

* Re-adjust accuracy for Glibc

* Expand testing of Complex
2017-07-04 13:01:35 -05:00
Xiaodi Wu b9d507ee05 Remove power(of:) 2017-06-14 00:06:37 -05:00
Xiaodi Wu 5756463715 Fix comment [NFC] 2017-06-12 20:35:20 -05:00
Xiaodi Wu 48e6f8ba1a Add comment for Jazzy 2017-06-12 20:18:20 -05:00
Xiaodi Wu e426e168b4 Expand testing (#4)
This PR adds tests for BinaryInteger.pow and for default implementations in Math and Real. In addition:

The default implementation of cubeRoot is corrected and removed from Math to Real.
A correction is made for an error in the default implementation of Math.phi.
Special values are now handled in the default implementation of Real.hypot.
This PR also includes an incidental simplification of some operator implementations in Complex, which will simplify later testing.

* Add tests for Math and Real, fix default implementations

* Reorder tests for Linux [NFC]

* Remove repetition in Complex operator implementations [NFC]

* Add tests for integer exponentiation
2017-06-12 20:03:31 -05:00
Xiaodi Wu ea3af8458f Rename FloatingPointMath to Real 2017-06-07 07:15:24 -05:00