Solution for exercise 02
Review
Task 1 - Integer numbers
Normal INTEGER has KIND=4, so 32 Bit, meaning that 2147483647
+ 1 will result in the most negative value -2147483648.:
PROGRAM kindint
INTEGER (KIND=4) k
k = 2147483647
WRITE(*,*) K, k+1
STOP
END
Task 2 - Not a Number
Example:
test_real.f
|
|