From 4fe3ad3f8b3072948e08184f542d93f3ef67ed6a Mon Sep 17 00:00:00 2001 From: Bob Nystrom Date: Fri, 20 Jan 2017 07:24:46 -0800 Subject: [PATCH] Docs for Num.log and Num.pow(). --- doc/site/modules/core/num.markdown | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/site/modules/core/num.markdown b/doc/site/modules/core/num.markdown index 4ed78f26..b2618974 100644 --- a/doc/site/modules/core/num.markdown +++ b/doc/site/modules/core/num.markdown @@ -89,6 +89,14 @@ Whether the number is [not a number](http://en.wikipedia.org/wiki/NaN). This is `false` for normal number values and infinities, and `true` for the result of `0/0`, the square root of a negative number, etc. +### **log** + +The natural logarithm of the number. + +### **pow**(power) + +Raises this number (the base) to `power`. Returns `nan` if the base is negative. + ### **sin** The sine of the number.