System.Math.Frexp
Delphi
procedure Frexp(const X: Single; var Mantissa: Single; var Exponent: Integer); overload;
procedure Frexp(const X: Double; var Mantissa: Double; var Exponent: Integer); overload;
procedure Frexp(const X: Extended; var Mantissa: Extended; var Exponent: Integer); overload;
C++
extern DELPHI_PACKAGE void __fastcall Frexp(const float X, float &Mantissa, int &Exponent)/* overload */;
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
procedure function |
public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
Beschreibung
Zerlegt einen Wert X in Mantisse und Exponent.
Frexp gibt Mantisse und Exponent von X in den Parametern Mantissa und Exponent zurück.
Wenn X unendlich, minus unendlich oder NaN ist, löst Frexp eine Exception EInvalidOp aus.