System.VarCmplx.ComplexNumberDefuzzAtZero

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

ComplexNumberDefuzzAtZero: Boolean = True;

C++

extern DELPHI_PACKAGE bool ComplexNumberDefuzzAtZero;

Properties

Type Visibility Source Unit Parent
variable public
System.VarCmplx.pas
System.VarCmplx.hpp
System.VarCmplx System.VarCmplx

Description

Indicates whether to round to zero complex numbers with very small real or imaginary part.

ComplexNumberDefuzzAtZero is an internal variable that indicates whether to round to zero a complex number with very small real or imaginary part, after assigning a value to the complex number. ComplexNumberDefuzzAtZero is set to True by default.

The rounding operation is achieved using a call to the IsZero function. If IsZero returns True, the complex number is set to zero; otherwise, the complex number retains its current value.

See Also