SED navigation bar go to SED home page go to Dataplot home page go to NIST home page SED Home Page SED Staff SED Projects SED Products and Publications Search SED Pages
Dataplot Vol 1 Vol 2

MACHINE CONSTANTS

Name:
    MACHINE CONSTANTS (SET)
Type:
    Set Subcommand
Purpose:
    Probe for values pertaining to certain machine constants used by Dataplot.
Description:
    The values for certain machine constants used by Dataplot can be extracted using the PROBE command. Note that these machine constants cannot be modified with the SET command. These are specific to the platform that you are running Dataplot on and are typically set when Dataplot is compiled.

    The list of available machine constants is

      CPUMIN - The value for the smallest real number.
      CPUMAX - The value for the largest real number.
      NUMBPC - The number of bits per character.
      NUMCPW - The number of characters per word.
      NUMBPW - The number of bits per word.
Syntax:
    PROBE <MACHINE CONSTANT>
    where <MACHINE CONSTANT> is one of the names listed above.
Examples:
    PROBE CPUMIN
    PROBE CPUMAX
Note:
    It is sometimes useful to define a parameter to denote machine infinity or machine negative infinity. This can be done as follows

      PROBE CPUMIN
      LET CPUMIN = PROBEVAL
      PROBE CPUMAX
      LET CPUMAX = PROBEVAL

    The parameters CPUMIN and CPUMAX can then be used as parameters in subsequent Dataplot commands. For example, these value can be useful for defining missing values or for defining lower or upper limits on SUBSET clauses.

Default:
    The defaults are set for the specific platform when Dataplot is compiled.
Synonyms:
    None
Related Commands: Applications:
    Machine Constants
Implementation Date:
    Pre-1987
Program:
    XX

Privacy Policy/Security Notice
Disclaimer | FOIA

NIST is an agency of the U.S. Commerce Department.

Date created: 04/27/2016
Last updated: 04/27/2016

Please email comments on this WWW page to alan.heckert@nist.gov.