<aside> 💡

NaN when not in the terminal as an output is recognized as text.

</aside>

NaN is a default output code of Lagmite which ****means there is an error or operations of the code could not be completed. By default, it only shows in the terminal when there are syntax or math errors. As an example, any number divided by 0 is undefined.

disp [text] (calc [expr] 5/0)

//Expected result: NaN