Re: [petsc-users] Check the precision for real numbers
Do you mean inside Fortran source code, you want to determine if single or double is being used? 1) The PETSc preprocess C macros are also included in Petsc's Fortran include files, so either PETSC_USE_REAL_SINGLE or PETSC_USE_REAL_DOUBLE is always defined, you can then use
[petsc-users] Check the precision for real numbers
Hi all, I have a question about how to return the precision for real number in Fortran code? Thanks, Runjian