PetscFloat#

PETSc datatype for the C float type

Note#

Provided so that values of C type float can be referenced through a PETSc-style typedef. Most user code should prefer PetscReal for real-valued floating-point data, which is float only when PETSc is configured --with-precision=single.

See Also#

PetscReal, PetscScalar, PetscShort

Level#

beginner

Location#

include/petscsystypes.h

Examples#

src/sys/tests/ex15.cxx


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