# PetscIsNormalReal
Returns `PETSC_TRUE` if the input value satisfies `isnormal()` 
## Synopsis
```
#if defined(PETSC_USE_REAL___FLOAT128) || defined(PETSC_USE_REAL___FP16)
PetscBool PetscIsNormalReal(PetscReal a)
```

## Input Parameter

- ***a -*** the PetscReal Value



## Developer Notes
Uses the C99 standard `isnormal()` on systems where they exist.

Uses `isnormalq()` with `__float128`

Otherwise always returns true




## See Also
 `PetscIsInfReal()`, `PetscIsNanReal()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/utils/mathinf.c.html#PetscIsNormalReal">src/sys/utils/mathinf.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/utils/mathinf.c)


[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)  
