RANGE

Platform

x64, Win32, .NET

Purpose

To get the range of the decimal exponent for integer or real numbers with a given kind type.

Class

Inquiry function.

Syntax

INTEGER FUNCTION RANGE(X)

Description

X is of type integer, real or complex. It may be a scalar or an array.

Return value

The result is a scalar integer giving the smaller of the largest positive exponent and the absolute value of the largest negative exponent that is used by the compiler for numbers of the given type and kind type. For real values of kinds 1, 2 and 3 the results are respectively 37, 307 and 4931.

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited