PetscCeilInt64#

Returns the ceiling of the quotation of two positive integers

Synopsis#

static inline PetscInt64 PetscCeilInt64(PetscInt64 x, PetscInt64 y)

Not Collective

Input Parameters#

  • x - the numerator

  • y - the denominator

Example:

  PetscInt64 n = PetscCeilInt64(10, 3); // n has the value of 4

See Also#

PetscCeilInt(), PetscMax(), PetscMin(), PetscAbsInt(), PetscAbsReal(), PetscApproximateLTE()

Level#

advanced

Location#

include/petscmath.h


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