NaN and -Infinity or Infinity

Blitz3D Forums/Blitz3D Programming/NaN and -Infinity or Infinity

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

In fact, division by zero is the most common reason for NaN.

Typically, the first such division produces an infinite value.
But then continued calculations with this infinite value result in NaN.

Expressions such as (Infinity-Infinity) and (Infinity/Infinity) are NaN.