repl.txt (586B)
1 2 {{alias}}( x ) 3 Evaluates the natural logarithm of `1+x`. 4 5 For `x < -1`, the function returns `NaN`, as the natural logarithm is not 6 defined for negative numbers. 7 8 Parameters 9 ---------- 10 x: number 11 Input value. 12 13 Returns 14 ------- 15 y: number 16 Function value. 17 18 Examples 19 -------- 20 > var y = {{alias}}( 4.0 ) 21 ~1.609 22 > y = {{alias}}( -1.0 ) 23 -Infinity 24 > y = {{alias}}( 0.0 ) 25 0.0 26 > y = {{alias}}( -0.0 ) 27 -0.0 28 > y = {{alias}}( -2.0 ) 29 NaN 30 > y = {{alias}}( NaN ) 31 NaN 32 33 See Also 34 -------- 35