From 85e2726ddedd2981425c5ac07f7257bce1a6ddbf Mon Sep 17 00:00:00 2001 From: jwansek Date: Mon, 1 Nov 2021 14:51:47 +0000 Subject: started work on translation to c --- code/FORTRAN2C/examples/maths.txt | 1 + code/FORTRAN2C/examples/maths2.txt | 1 + code/FORTRAN2C/examples/maths3.txt | 1 + code/FORTRAN2C/examples/maths4.txt | 1 + 4 files changed, 4 insertions(+) create mode 100644 code/FORTRAN2C/examples/maths.txt create mode 100644 code/FORTRAN2C/examples/maths2.txt create mode 100644 code/FORTRAN2C/examples/maths3.txt create mode 100644 code/FORTRAN2C/examples/maths4.txt (limited to 'code/FORTRAN2C/examples') diff --git a/code/FORTRAN2C/examples/maths.txt b/code/FORTRAN2C/examples/maths.txt new file mode 100644 index 0000000..36726f5 --- /dev/null +++ b/code/FORTRAN2C/examples/maths.txt @@ -0,0 +1 @@ +(36/2 + 45.2) * 3 \ No newline at end of file diff --git a/code/FORTRAN2C/examples/maths2.txt b/code/FORTRAN2C/examples/maths2.txt new file mode 100644 index 0000000..313296b --- /dev/null +++ b/code/FORTRAN2C/examples/maths2.txt @@ -0,0 +1 @@ +sin(45 * 2) / 3 diff --git a/code/FORTRAN2C/examples/maths3.txt b/code/FORTRAN2C/examples/maths3.txt new file mode 100644 index 0000000..e092af1 --- /dev/null +++ b/code/FORTRAN2C/examples/maths3.txt @@ -0,0 +1 @@ +3-1+2 \ No newline at end of file diff --git a/code/FORTRAN2C/examples/maths4.txt b/code/FORTRAN2C/examples/maths4.txt new file mode 100644 index 0000000..a922b77 --- /dev/null +++ b/code/FORTRAN2C/examples/maths4.txt @@ -0,0 +1 @@ +2 + 2 -- cgit v1.2.3