# Infinite floating point numbers

* inf
* NaN

* You get `inf` or `-inf` if you devide by 0.0 or -0.0 respectively.
* Adding  `inf` to `-inf` yields a `NaN`.
* Integers don't have infinite values.

{% embed include file="src/examples/numbers/infinite-floating-point-number/src/main.rs" %}
{% embed include file="src/examples/numbers/infinite-floating-point-number/out.out" %}




