Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / regression_tests / lustre_files / success / include / lustrec_math.lus @ b03d5034

History | View | Annotate | Download (1.5 KB)

1
node imported acos (x: real) returns (y: real) ;
2
node imported acosh (x: real) returns (y: real) ;
3
node imported asin (x: real) returns (y: real) ;
4
node imported asinh (x: real) returns (y: real) ;
5
node imported atan (x: real) returns (y: real) ;
6
node imported atan2(x:real; n: real) returns (y: real) ;
7
node imported atanh (x: real) returns (y: real) ;
8
node imported cbrt (x: real) returns (y: real) ;
9
node imported cos (x: real) returns (y: real) ;
10
(*@contract
11
     	guarantee (y >= -1.0 and y <= 1.0);
12
*)
13
node imported cosh (x: real) returns (y: real) ;
14
node imported ceil (x: real) returns (y: real) ;
15
node imported erf (x: real) returns (y: real) ;
16
node imported exp (x: real) returns (y: real) ;
17
node imported fabs (x: real) returns (y: real) ;
18
node imported floor (x: real) returns (y: real) ;
19
node imported fmod (x,y: real) returns (z: real) ;
20
node imported log (x: real) returns (y: real) ;
21
node imported log10 (x: real) returns (y: real) ;
22
node imported pow (x:real; n: real) returns (y: real) ;
23
node imported round (x: real) returns (y: real) ;
24
node imported sin (x: real) returns (y: real) ;
25
(*@contract
26
     	guarantee (y >= -1.0 and y <= 1.0);
27
*)
28
node imported sinh (x: real) returns (y: real) ;
29
node imported sqrt (x: real) returns (y: real) ;
30
(*@contract
31
     	assume (x >= 0.0);
32
     	guarantee (y >= 0.0);
33
     	guarantee (x >= y);
34
     	guarantee ((y * y) = x);
35
*)
36

    
37
node imported trunc (x: real) returns (y: real) ;
38
node imported tan (x: real) returns (y: real) ;
39
node imported tanh (x: real) returns (y: real) ;