Skip to main content
Ctrl+K
PETSc v3.23.2-148-g022ab154a4ee documentation - Home
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • PETSC_MACHIN...

PETSC_MACHINE_EPSILON#

the machine epsilon for the precision of PetscReal

Note#

See https://en.wikipedia.org/wiki/Machine_epsilon

See Also#

PETSC_MAX_REAL, PETSC_MIN_REAL, PETSC_REAL_MIN, PETSC_SQRT_MACHINE_EPSILON, PETSC_SMALL

Level#

beginner

Location#

include/petscmath.h

Examples#

src/ksp/ksp/tutorials/ex76.c
src/ts/tutorials/ex31.c
src/mat/tutorials/ex2.c
src/dm/impls/plex/tutorials/ex15.c
src/ksp/ksp/tutorials/ex77.c
src/ts/utils/dmplexlandau/tutorials/ex2.c
src/ts/tutorials/ex51.c
src/ksp/ksp/tutorials/ex6.c
src/mat/tutorials/ex9.c


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

On this page
  • Note
  • See Also
  • Level
  • Location
  • Examples
Edit on GitLab
Show Source

© Copyright 1991-2025, UChicago Argonne, LLC and the PETSc Development Team.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.15.1.

Last updated on 2025-05-13T03:44:33-0500 (v3.23.2-148-g022ab154a4ee).