lustrec-tests / regression_tests / lustre_files / success / mpfr / math_vect_2_test.lus @ b745c1a8
History | View | Annotate | Download (2.58 KB)
1 | 7f14b1e1 | bourbouh | -- This file has been generated by cocoSim |
---|---|---|---|
2 | |||
3 | 72e9ca2d | ploc | #open <lustrec_math> |
4 | 7f14b1e1 | bourbouh | |
5 | -- System nodes |
||
6 | node math_vect_2_test (In6_1_1 : real; In6_1_2 : real; In6_1_3 : real; In7_1_1 : real; In7_1_2 : real; In7_1_3 : real; In8_1_1 : real; In8_1_2 : real; In8_1_3 : real; In9_1_1 : real; In9_1_2 : real; In9_1_3 : real; In11_1_1 : real; In11_1_2 : real; In11_1_3 : real; In1_1_1 : real; In1_1_2 : real; In1_1_3 : real; In2_1_1 : real; In3_1_1 : real; In4_1_1 : real; In4_1_2 : real; In4_1_3 : real; ) |
||
7 | returns (Out6_1_1 : real; Out6_1_2 : real; Out6_1_3 : real; |
||
8 | Out7_2_1 : real; Out7_2_2 : real; Out7_2_3 : real; |
||
9 | Out8_3_1 : real; Out8_3_2 : real; Out8_3_3 : real; |
||
10 | Out10_4_1 : real; Out10_4_2 : real; Out10_4_3 : real; |
||
11 | Out1_5_1 : real; Out1_5_2 : real; Out1_5_3 : real; |
||
12 | Out2_6_1 : real; Out2_6_2 : real; Out2_6_3 : real); |
||
13 | var |
||
14 | MathFunction1_1_1 : real; MathFunction1_1_2 : real; MathFunction1_1_3 : real; |
||
15 | MathFunction2_1_1 : real; MathFunction2_1_2 : real; MathFunction2_1_3 : real; |
||
16 | MathFunction5_1_1 : real; MathFunction5_1_2 : real; MathFunction5_1_3 : real; |
||
17 | MathFunction6_1_1 : real; MathFunction6_1_2 : real; MathFunction6_1_3 : real; |
||
18 | MathFunction7_1_1 : real; MathFunction7_1_2 : real; MathFunction7_1_3 : real; |
||
19 | MathFunction9_1_1 : real; MathFunction9_1_2 : real; MathFunction9_1_3 : real; |
||
20 | i_virtual_local : real; |
||
21 | let |
||
22 | MathFunction1_1_1 = pow(In1_1_1, In2_1_1); |
||
23 | MathFunction1_1_2 = pow(In1_1_2, In2_1_1); |
||
24 | MathFunction1_1_3 = pow(In1_1_3, In2_1_1); |
||
25 | MathFunction2_1_1 = pow(In3_1_1, In4_1_1); |
||
26 | MathFunction2_1_2 = pow(In3_1_1, In4_1_2); |
||
27 | MathFunction2_1_3 = pow(In3_1_1, In4_1_3); |
||
28 | MathFunction5_1_1 = In6_1_1 * In6_1_1; |
||
29 | MathFunction5_1_2 = In6_1_2 * In6_1_2; |
||
30 | MathFunction5_1_3 = In6_1_3 * In6_1_3; |
||
31 | MathFunction6_1_1 = sqrt(In7_1_1); |
||
32 | MathFunction6_1_2 = sqrt(In7_1_2); |
||
33 | MathFunction6_1_3 = sqrt(In7_1_3); |
||
34 | MathFunction7_1_1 = pow(In8_1_1, In9_1_1); |
||
35 | MathFunction7_1_2 = pow(In8_1_2, In9_1_2); |
||
36 | MathFunction7_1_3 = pow(In8_1_3, In9_1_3); |
||
37 | MathFunction9_1_1 = 1.0 / In11_1_1; |
||
38 | MathFunction9_1_2 = 1.0 / In11_1_2; |
||
39 | MathFunction9_1_3 = 1.0 / In11_1_3; |
||
40 | Out6_1_1 = MathFunction5_1_1; |
||
41 | Out6_1_2 = MathFunction5_1_2; |
||
42 | Out6_1_3 = MathFunction5_1_3; |
||
43 | Out7_2_1 = MathFunction6_1_1; |
||
44 | Out7_2_2 = MathFunction6_1_2; |
||
45 | Out7_2_3 = MathFunction6_1_3; |
||
46 | Out8_3_1 = MathFunction7_1_1; |
||
47 | Out8_3_2 = MathFunction7_1_2; |
||
48 | Out8_3_3 = MathFunction7_1_3; |
||
49 | Out10_4_1 = MathFunction9_1_1; |
||
50 | Out10_4_2 = MathFunction9_1_2; |
||
51 | Out10_4_3 = MathFunction9_1_3; |
||
52 | Out1_5_1 = MathFunction1_1_1; |
||
53 | Out1_5_2 = MathFunction1_1_2; |
||
54 | Out1_5_3 = MathFunction1_1_3; |
||
55 | Out2_6_1 = MathFunction2_1_1; |
||
56 | Out2_6_2 = MathFunction2_1_2; |
||
57 | Out2_6_3 = MathFunction2_1_3; |
||
58 | i_virtual_local= 0.0 -> 1.0; |
||
59 | tel |