---
title: fdim
framework: Kernel
role: symbol
role_heading: Function
platforms: [macOS 10.10+]
path: kernel/1557355-fdim
---

# fdim

## Declaration

```occ
double fdim(double, double);
```

## See Also

### Positive Difference

- [fdimf](kernel/1557210-fdimf.md)
- [fdiml](kernel/1557241-fdiml.md)
