From 33b2f14cb8c1ab756192685b3bcdd665fb761dc0 Mon Sep 17 00:00:00 2001 From: rasmus Date: Thu, 13 Feb 2025 15:00:00 +0100 Subject: [PATCH] Add more text --- src/components/Fortran/Fortran_Data_Types.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/Fortran/Fortran_Data_Types.vue b/src/components/Fortran/Fortran_Data_Types.vue index 5be33dc..9e6b1cd 100644 --- a/src/components/Fortran/Fortran_Data_Types.vue +++ b/src/components/Fortran/Fortran_Data_Types.vue @@ -213,8 +213,11 @@ end program hello

logical is a boolean. It's either true or false. But a funny thing with the logical type in Fortran, compared to other languages, is that you can define the size of it. The logical type supports the - kind(n) modifier.

+ kind(n) modifier.

+ A good reason for the different sized logical, is optimization. Some systems handles larger object better than smaller, + or some systems handles smaller objects better. It all depends on the architecture. +

main.f90