repl.txt (496B)
1 2 {{alias}}( x ) 3 Computes the value of `sin(πx)`. 4 5 The function computes `sin(πx)` more accurately than the obvious approach, 6 especially for large `x`. 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}}( 0.0 ) 21 0.0 22 > y = {{alias}}( 0.5 ) 23 1.0 24 > y = {{alias}}( 0.9 ) 25 ~0.309 26 > y = {{alias}}( NaN ) 27 NaN 28 29 See Also 30 -------- 31