Skip to main content
`Ctrl`+`K`

# PETSC_PI

the value of \( \pi\) to the correct precision of `PetscReal`.

## See Also

`PetscReal`, `PETSC_PHI`, `PETSC_SQRT2`

## Level

beginner

## Location

include/petscmath.h

## Examples

src/ksp/ksp/tutorials/ex69.c
src/ksp/ksp/tutorials/ex25.c
src/ksp/ksp/tutorials/ex68.c
src/dm/impls/swarm/tutorials/ex1.c
src/dm/impls/plex/tutorials/ex19.c
src/ksp/ksp/tutorials/ex51.c
src/ksp/ksp/tutorials/ex28.c
src/ksp/ksp/tutorials/ex13.c

Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages