System.Math.MaxValue

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function MaxValue(const Data: array of Single): Single;
function MaxValue(const Data: array of Double): Double;
function MaxValue(const Data: array of Extended): Extended;

C++

extern DELPHI_PACKAGE float __fastcall MaxValue(float const *Data, const int Data_High)/* overload */;

Properties

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

Description

Returns the largest signed value in an array.

MaxValue returns the largest signed value in the Data array. In C++, the Data_Size parameter gives the index of the last element of the array (one less than the number of elements).

See Also