YuriPaglierani / Data-Analysis-Fortran

A basic program for data analysis of 1 parameter, it can be extended and optimized. Program done collaborating with Alessandro Namar
1 stars 0 forks source link

e and pi should be declared double precision real, not integer #1

Open Beliavsky opened 2 years ago

Beliavsky commented 2 years ago

The code

integer, parameter :: e = 2.71828182845904523536, pi = 3.14159265358

should be replaced with something like

real(kind=kind(1.0d0)) :: e = 2.71828182845904523536, pi = 3.14159265358

YuriPaglierani commented 2 years ago

Thanks, I'll upload as soon as possible

Il lun 4 apr 2022, 18:01 Beliavsky @.***> ha scritto:

The code

integer, parameter :: e = 2.71828182845904523536, pi = 3.14159265358

should be replaced with something like

real(kind=kind(1.0d0)) :: e = 2.71828182845904523536, pi = 3.14159265358

— Reply to this email directly, view it on GitHub https://github.com/YuriPaglierani/Data-Analysis-Fortran/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANYLQFWCM44CVIQG3KX3IQ3VDMG57ANCNFSM5SQAGC6A . You are receiving this because you are subscribed to this thread.Message ID: @.***>