summaryrefslogtreecommitdiffstats
path: root/code/FORTRAN2C/examples
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2021-11-01 14:51:47 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2021-11-01 14:51:47 +0000
commit85e2726ddedd2981425c5ac07f7257bce1a6ddbf (patch)
treed84a75438cba4fd3d7180c776f3632577292433a /code/FORTRAN2C/examples
parent69b0ad07bac30beca1397ff187468e7597203c44 (diff)
downloadesotericFORTRAN-85e2726ddedd2981425c5ac07f7257bce1a6ddbf.tar.gz
esotericFORTRAN-85e2726ddedd2981425c5ac07f7257bce1a6ddbf.zip
started work on translation to c
Diffstat (limited to 'code/FORTRAN2C/examples')
-rw-r--r--code/FORTRAN2C/examples/maths.txt1
-rw-r--r--code/FORTRAN2C/examples/maths2.txt1
-rw-r--r--code/FORTRAN2C/examples/maths3.txt1
-rw-r--r--code/FORTRAN2C/examples/maths4.txt1
4 files changed, 4 insertions, 0 deletions
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