PetscFmodReal — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# 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

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