# PetscCeilInt
Returns the ceiling of the quotation of two positive integers 
## Synopsis
```
#include <petscmath.h>
PetscInt PetscCeilInt(PetscInt x,PetscInt y)
```
Not Collective


## Input Parameters

- ***x -*** the numerator
- ***y -*** the denominator





## See Also
 `PetscMax()`, `PetscMin()`, `PetscAbsInt()`, `PetscAbsReal()`, `PetscApproximateLTE()`


## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/include/petscmath.h.html#PetscCeilInt">include/petscmath.h</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscmath.h)


[Index of all Sys routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
