|
|
1.1 root 1: (*
2: * Test of reals and longreals.
3: *)
4:
5: module main;
6: var
7: x : longreal;
8: y : real;
9:
10: procedure f (x : real) : longreal;
11: begin
12: return longfloat(3.14*x);
13: end f;
14:
15: begin
16: y := 3.0;
17: x := f(y);
18: end main.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.