Kipper-Lang / Kipper

The Kipper programming language for Browsers and Node.js 🦊✨ Made at HTL Leonding & JKU Linz
https://kipper-lang.org
GNU General Public License v3.0
26 stars 4 forks source link

[Feature] Add built-in constant `NaN` #671

Closed Luna-Klatzer closed 3 months ago

Luna-Klatzer commented 3 months ago

Is there an existing proposal for this?

This feature does not exist in the latest version

Proposal

Implement built-in constant NaN, which simply represents the constant not-a-number. This value is already returned by as num when the value being converted from is not a number.

Exact behaviour / changes you want

Luna-Klatzer commented 3 months ago

Implemented by #676.