• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1((function tanh
2   (signature float
3     (parameters
4       (declare (in) float x))
5     ((return (expression float /
6                (expression float -
7		  (expression float exp (var_ref x))
8		  (expression float exp (expression float neg (var_ref x))))
9                (expression float +
10		  (expression float exp (var_ref x))
11		  (expression float exp (expression float neg (var_ref x))))))))
12   (signature vec2
13     (parameters
14       (declare (in) vec2 x))
15     ((return (expression vec2 /
16                (expression vec2 -
17		  (expression vec2 exp (var_ref x))
18		  (expression vec2 exp (expression vec2 neg (var_ref x))))
19                (expression vec2 +
20		  (expression vec2 exp (var_ref x))
21		  (expression vec2 exp (expression vec2 neg (var_ref x))))))))
22   (signature vec3
23     (parameters
24       (declare (in) vec3 x))
25     ((return (expression vec3 /
26                (expression vec3 -
27		  (expression vec3 exp (var_ref x))
28		  (expression vec3 exp (expression vec3 neg (var_ref x))))
29                (expression vec3 +
30		  (expression vec3 exp (var_ref x))
31		  (expression vec3 exp (expression vec3 neg (var_ref x))))))))
32   (signature vec4
33     (parameters
34       (declare (in) vec4 x))
35     ((return (expression vec4 /
36                (expression vec4 -
37		  (expression vec4 exp (var_ref x))
38		  (expression vec4 exp (expression vec4 neg (var_ref x))))
39                (expression vec4 +
40		  (expression vec4 exp (var_ref x))
41		  (expression vec4 exp (expression vec4 neg (var_ref x))))))))
42))
43