PetscAbsInt#
Returns the absolute value of an integer
Synopsis#
#include <petscmath.h>
int abs PetscAbsInt(int v1)
Input Parameter#
v1 - the integer
See Also#
PetscMax(), PetscMin(), PetscAbsReal(), PetscSqr()
Level#
beginner
Location#
Examples#
src/dm/dt/dualspace/impls/lagrange/tests/ex1.c
src/dm/dt/space/impls/ptrimmed/tests/ex1.c
src/dm/dt/tests/ex13.c
src/dm/dt/tests/ex7.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages