System.VarCmplx.VarComplexSign

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function VarComplexSign(const AValue: Variant): Variant;

C++

extern DELPHI_PACKAGE System::Variant __fastcall VarComplexSign(const System::Variant &AValue);

Propriétés

Type Visibilité  Source Unité  Parent
function public
System.VarCmplx.pas
System.VarCmplx.hpp
System.VarCmplx System.VarCmplx

Description

Renvoie le signe d'un nombre complexe.

Utilisez la routine VarComplexSign pour calculer le signe complexe du nombre complexe donné par le paramètre AValue.

VarComplexSign renvoie un nombre complexe dont la valeur est égale à VarAsComplex(AValue) / VarComplexAbs(AValue). C'est en fait le nombre complexe sur l'unité cercle du plan complexe qui est le plus proche de AValue.

Voir aussi