[petsc-users] How to specify how many digits we could print using PetscPrintf

Fande Kong fdkong.jd at gmail.com
Fri Dec 11 21:40:47 CST 2015


Hi all,

By default, PetscPrintf prints 6 digits. How to specify how many digits we
could print using PetscPrintf? For example, I want to print 16 digits for a
double value (PetscReal).


Thanks,

Fande,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20151211/5c4ed020/attachment.html>


More information about the petsc-users mailing list