Updated history and extended docs

This commit is contained in:
jos 2016-02-13 13:48:09 +01:00
parent 33ddfb70a5
commit 8639f85dab
2 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,12 @@
# History
## not yet released, version 2.7.1
- Extended function `pow` to return the real root for cubic roots of negative
numbers. See #525, #482, #567.
## 2016-02-03, version 2.7.0
- Added more unit aliases for time: `secs`, `mins`, `hr`, `hrs`. See #551.

View File

@ -21,6 +21,7 @@ function factory (type, config, load, typed) {
* For cubic roots of negative numbers, the function returns the principal
* root by default. In order to let the function return the real root,
* math.js can be configured with `math.config({predictable: true})`.
* To retrieve all cubic roots of a value, use `math.cbrt(x, true)`.
*
* Syntax:
*
@ -38,7 +39,7 @@ function factory (type, config, load, typed) {
*
* See also:
*
* multiply, sqrt
* multiply, sqrt, cbrt, nthRoot
*
* @param {number | BigNumber | Complex | Array | Matrix} x The base
* @param {number | BigNumber | Complex} y The exponent