# Why do I get a SIGFPE?

**URL:** <https://discuss.codechef.com/t/why-do-i-get-a-sigfpe/1785>\
**Category:** faq\
**Tags:** faq, sigfpe\
**Created:** [March 22, 2013, 4:29pm UTC](https://discuss.codechef.com/t/why-do-i-get-a-sigfpe/1785 "2013-03-22T16:29:13Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![admin](https://discuss.codechef.com/user_avatar/discuss.codechef.com/admin/32/212587_2.png) [@admin](https://discuss.codechef.com/u/admin)\
**Post date:** [March 22, 2013, 4:29pm UTC](https://discuss.codechef.com/t/why-do-i-get-a-sigfpe/1785/2 "2013-03-22T16:29:36Z")

</div>

This is the easiest runtime error to debug - it is a floating point error. It is virtually always caused by a division by 0, so check any divisions or modulo operations in your code carefully.

---

_[View the full topic](https://discuss.codechef.com/t/why-do-i-get-a-sigfpe/1785)._
