gridfile.loadedPrecision

Return the numerical precision of output loaded from specified data types


Syntax



Description

precision = gridfile.loadedPrecision(dataTypes)

Returns the numerical precision of gridfile output loaded from data sources that store the specified data types. Returns ‘double’ if dataTypes includes double, int32, uint32, int64, or uint64, or if dataTypes is empty. Otherwise, returns ‘single’.


Input Arguments

dataTypes

string vector
The data types of the data sources used to load a gridfile array.

Output Arguments

precision

single’ | ‘double
The numerical precision of the loaded gridfile array