PlatformInfo

class PlatformInfo(*args, **kwargs)

Informations about platform.

No constructor, only static methods are available.

Methods

GetNumericalPrecision()

Accessor to the output numerical precision.

GetRevision()

Accessor to the revision string.

GetVersion()

Accessor to the version string.

SetNumericalPrecision(precision)

Accessor to the output numerical precision.

SetTwoDigitExponent([enable])

Use two digits for exponent format.

GetDate

GetInstallationDirectory

GetName

__init__(*args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

static GetNumericalPrecision()

Accessor to the output numerical precision.

Returns
precisionint

String ouput numerical precision.

static GetRevision()

Accessor to the revision string.

Returns
revisionstr

Git revision.

static GetVersion()

Accessor to the version string.

Returns
versionstr

Version string.

static SetNumericalPrecision(precision)

Accessor to the output numerical precision.

Parameters
precisionint

String ouput numerical precision.

static SetTwoDigitExponent(enable=True)

Use two digits for exponent format.

For testing purposes with pre 2015 MSVC compilers.

Parameters
enablebool, default=True

Whether to switch to two digits exponent.