[dylan-lang/opendylan] 0bb14e: Add hypot math function.

GitHub <[email protected]> Wed, 27 Jan 2016 12:06:59 -0800
Newsgroups gmane.comp.lang.dylan.gwydion.cvs
Message-ID <56a923638b918_46bd3f80c900d2bc5474e@hookshot-fe3-cp1-prd.iad.github.net.mail>
----==_mimepart_56a923638b4ee_46bd3f80c900d2bc546a6
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

  Branch: refs/heads/master
  Home:   https://github.com/dylan-lang/opendylan
  Commit: 0bb14ee83d334ec4cbe68872eb55f6fccd6e0651
      https://github.com/dylan-lang/opendylan/commit/0bb14ee83d334ec4cbe68872eb55f6fccd6e0651
  Author: Bruce Mitchener <[email protected]>
  Date:   2016-01-27 (Wed, 27 Jan 2016)

  Changed paths:
    M documentation/library-reference/source/common-dylan/transcendentals.rst
    M documentation/release-notes/source/2016.1.rst
    M sources/common-dylan/library.dylan
    M sources/common-dylan/tests/specification.dylan
    M sources/common-dylan/tests/transcendentals.dylan
    M sources/common-dylan/transcendentals.dylan

  Log Message:
  -----------
  Add hypot math function.

When calculating a hypotenuse, it is useful to have the hypot function
available as it avoids overflow / underflow when possible, at the cost
of being slower.

* documentation/library-reference/source/common-dylan/transcendentals.rst
  (hypot): Document.

* documentation/release-notes/source/2016.1.rst
  (common-dylan): Mention hypot.

* sources/common-dylan/library.dylan
  (module transcendentals): Export hypot.

* sources/common-dylan/tests/specification.dylan
  (module-spec transcendentals): Add hypot.

* sources/common-dylan/tests/transcendentals.dylan
  (function-test hypot): Add test of hypot, including that it
   avoids overflow.

* sources/common-dylan/transcendentals.dylan
  (hypot): Implement.


  Commit: 7df9935dac2e5ad1b7a6c1010e456e7c72afa031
      https://github.com/dylan-lang/opendylan/commit/7df9935dac2e5ad1b7a6c1010e456e7c72afa031
  Author: Peter S. Housel <[email protected]>
  Date:   2016-01-27 (Wed, 27 Jan 2016)

  Changed paths:
    M documentation/library-reference/source/common-dylan/transcendentals.rst
    M documentation/release-notes/source/2016.1.rst
    M sources/common-dylan/library.dylan
    M sources/common-dylan/tests/specification.dylan
    M sources/common-dylan/tests/transcendentals.dylan
    M sources/common-dylan/transcendentals.dylan

  Log Message:
  -----------
  Merge pull request #1032 from waywardmonkeys/add-hypot

Add hypot math function.


Compare: https://github.com/dylan-lang/opendylan/compare/eacc04dcd2d3...7df9935dac2e
----==_mimepart_56a923638b4ee_46bd3f80c900d2bc546a6
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter
----==_mimepart_56a923638b4ee_46bd3f80c900d2bc546a6--