Skip to content

Commit

Permalink
num/{dual,hyperdual}: address PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kortschak committed Dec 11, 2018
1 parent 6fe16d2 commit 7e0a26e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions num/dual/dual_fike.go
Expand Up @@ -75,12 +75,12 @@ func PowReal(d Number, p float64) Number {
}
}

// Pow return d**r, the base-d exponential of r.
// Pow returns d**r, the base-d exponential of r.
func Pow(d, p Number) Number {
return Exp(Mul(p, Log(d)))
}

// Sqrt returns the square root of d
// Sqrt returns the square root of d.
//
// Special cases are:
// Sqrt(+Inf) = +Inf
Expand Down
2 changes: 1 addition & 1 deletion num/hyperdual/hyperdual_fike.go
Expand Up @@ -83,7 +83,7 @@ func Pow(d, p Number) Number {
return Exp(Mul(p, Log(d)))
}

// Sqrt returns the square root of d
// Sqrt returns the square root of d.
//
// Special cases are:
// Sqrt(+Inf) = +Inf
Expand Down

0 comments on commit 7e0a26e

Please sign in to comment.