Compare commits

...

3 Commits

Author SHA1 Message Date
Aaron
f1891ba3a5
Merge 8350b334be into 5d0fe40db8 2024-11-11 12:28:39 +03:00
Beliavsky
5d0fe40db8
[fortran/en] declare pi without extraneous digits (#5175)
All checks were successful
Trigger site build / deploy (push) Has been skipped
CI / lint (push) Successful in 15s
2024-11-10 07:05:32 -07:00
aaron
8350b334be [git/tr] Fixes a confusion between regex and glob 2024-11-03 10:11:40 +01:00
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ program example ! declare a program called example.
real :: v, x ! WARNING: default initial values are compiler dependent! real :: v, x ! WARNING: default initial values are compiler dependent!
real :: a = 3, b = 2E12, c = 0.01 real :: a = 3, b = 2E12, c = 0.01
integer :: i, j, k = 1, m integer :: i, j, k = 1, m
real, parameter :: PI = 3.1415926535897931 ! declare a constant. real, parameter :: PI = 3.14159265 ! declare a constant.
logical :: y = .TRUE., n = .FALSE. ! boolean type. logical :: y = .TRUE., n = .FALSE. ! boolean type.
complex :: w = (0, 1) ! sqrt(-1) complex :: w = (0, 1) ! sqrt(-1)
character(len=3) :: month ! string of 3 characters. character(len=3) :: month ! string of 3 characters.

View File

@ -181,7 +181,7 @@ $ git add HelloWorld.java
# add a file in a nested dir # add a file in a nested dir
$ git add /path/to/file/HelloWorld.c $ git add /path/to/file/HelloWorld.c
# Regular Expression support! # Shell glob patterns make it easy to specify multiple files:
$ git add ./*.java $ git add ./*.java
# You can also add everything in your working directory to the staging area. # You can also add everything in your working directory to the staging area.