Here is my program:
program ch0501
implicit none
real :: btan
read(*,'(F20.8)'),btan
PRINT '(F20.8)', btan
end program ch0501
When run, I input 123.12345678
on the keyboard.
However, I get
123.12345886
as output on the screen.
Why is that? I tried compiling on different machines using gfortran
and get the same result.