PetscFmodReal#

Returns the floating-point remainder of a/b, with the same sign as a, returned as a PetscReal

Synopsis#

#include <petscmath.h>
PetscReal PetscFmodReal(PetscReal a, PetscReal b)

Not Collective; No Fortran Support

Input Parameters#

  • a - the value

  • b - the value

See Also#

PetscReal, PetscScalar, PetscComplex

Level#

beginner

Location#

include/petscmath.h

Examples#

src/sys/tests/ex25.c
src/ts/tutorials/ex9.c


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