Difference between revisions of "NaN"

From MiniScript Wiki
Jump to navigation Jump to search
(Created NaN stub)
 
(State that NaNs come from the IEEE 754 standard, reword a bit, and add link to Sqrt)
 
Line 1: Line 1:
In general computing, '''NaN''' (standing for '''Not a Number''') is a special [[Number|numeric]] value that is returned as the value of an undefined operation[https://en.wikipedia.org/wiki/NaN], such as the result of '''0/0''', or the square root of a negative number in Miniscript.
+
In general computing, '''NaN''' (standing for '''Not a Number''') is a special [[Number|numeric]] value that is returned as the result of an undefined operation, according to the IEEE 754 standard for floating point numbers.[https://en.wikipedia.org/wiki/NaN] It is the output of '''0/0''', or the [[Sqrt|square root]] of a negative number in Miniscript.
  
 
{{stub}}
 
{{stub}}

Latest revision as of 23:10, 8 February 2024

In general computing, NaN (standing for Not a Number) is a special numeric value that is returned as the result of an undefined operation, according to the IEEE 754 standard for floating point numbers.[1] It is the output of 0/0, or the square root of a negative number in Miniscript.


This article is a stub. You can help the MiniScript Wiki by expanding it.