All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jangaroo-runtime.2.0.19.source-code.NaN.as Maven / Gradle / Ivy

There is a newer version: 4.1.8
Show newest version
/**
 * API and documentation by Adobe�.
 * Licensed under http://creativecommons.org/licenses/by-nc-sa/3.0/
 */
package {

/**
 * A special member of the Number data type that represents a value that is "not a number" (NaN). When a mathematical expression results in a value that cannot be expressed as a number, the result is NaN. The following list describes common expressions that result in NaN.
 * 
    *
  • Division by 0 results in NaN only if the divisor is also 0. If the divisor is greater than 0, division by 0 results in Infinity. If the divisor is less than 0, division by 0 results in -Infinity;
  • *
  • Square root of a negative number;
  • *
  • The arcsine of a number outside the valid range of 0 to 1;
  • *
  • Infinity subtracted from Infinity;
  • *
  • Infinity or -Infinity divided by Infinity or -Infinity;
  • *
  • Infinity or -Infinity multiplied by 0;
*

The NaN value is not a member of the int or uint data types.

*

The NaN value is not considered equal to any other value, including NaN, which makes it impossible to use the equality operator to test whether an expression is NaN. To determine whether a number is the NaN function, use isNaN().

* @see #isNaN() * @see Number#NaN * */ [Native] public const NaN:Number; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy