Other Literals
Inf and NaN are two special literals predefined in the OpenMatrix language.
Inf is short for infinity and typically results from division by 0. Note that Inf can be signed. For example, 1/0 returns Inf , but -1/0 returns –Inf.
NaN means “not a number” and essentially represents something that is undefined. A simple example that generates a NaN result is 0/0 (zero divided by zero).