PRECISION

Platform

x64, Win32, .NET

Purpose

To get the decimal precision for real numbers with the kind type of the argument.

Class

Inquiry function.

Syntax

INTEGER FUNCTION PRECISION(X); REAL X
INTEGER FUNCTION PRECISION(X); COMPLEX X

Description

X may be real or complex, scalar or array valued. The result is a scalar integer of the default kind type.

Return value

The result is the number of significant decimal figures that can be stored for the given real kind type.

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited