2021-05-26 21:48:44 +03:00
|
|
|
## Article
|
|
|
|
|
|
|
|
```catala
|
|
|
|
declaration scope A:
|
2022-02-07 14:04:48 +03:00
|
|
|
context output x content decimal
|
|
|
|
context output y content decimal
|
|
|
|
context output z content decimal
|
|
|
|
context output a content decimal
|
2021-05-26 21:48:44 +03:00
|
|
|
|
|
|
|
scope A:
|
|
|
|
definition x equals 84.64866565265689623
|
2022-12-07 17:37:26 +03:00
|
|
|
definition y equals - 4.36829778705320654980
|
2021-05-26 21:48:44 +03:00
|
|
|
definition z equals 654265429805103220650980650.5705405106540
|
2022-12-07 17:37:26 +03:00
|
|
|
definition a equals x / (y * (x + y) * (x * x * z * z))
|
2021-05-26 21:48:44 +03:00
|
|
|
```
|
2022-07-08 17:23:09 +03:00
|
|
|
|
2022-09-23 15:04:13 +03:00
|
|
|
```catala-test-inline
|
|
|
|
$ catala Interpret -s A
|
|
|
|
[RESULT] Computation successful! Results:
|
|
|
|
[RESULT] a =
|
|
|
|
-0.000000000000000000000000000000000000000000000000000000000078695580959228473468…
|
|
|
|
[RESULT] x = 84.64866565265689623
|
|
|
|
[RESULT] y = -4.3682977870532065498
|
|
|
|
[RESULT] z = 654265429805103220650980650.570540510654
|
2022-07-08 17:23:09 +03:00
|
|
|
```
|