Show: Delphi C++
Display Preferences

System.Math.Frexp

From RAD Studio API Documentation
Jump to: navigation, search

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 */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Math.pas
System.Math.hpp
System.Math System.Math

Description

Separates the Mantissa and Exponent of X

Frexp returns the mantissa of X as Mantissa and the exponent as Exponent.

If X is infinite, negative infinite, or NaN, Frexp raises EInvalidOp exception.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance