System.Math.NaN

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

NaN         =  0.0 / 0.0;

C++

extern const System::Extended NaN /*= 0.0 / 0.0*/;

Properties

Type Visibility Source Unit Parent
const
variable
public
System.Math.pas
System.Math.hpp
System.Math System.Math

Description

NaN represents a value that cannot be represented as a valid number.

NaN is literally defined as 0.0/0.0.

Note: NaN can be used only as an rvalue.

See Also