Borland C++ reference

_8087

raw OCR global variable

Coprocessor chip flag.

Defined in header <dos.h>

Syntax

extern int _8087}

Remarks

The _8087 variable is set to a nonzero value (1, 2, or 3) if the startup code autodetection logic detects a floating-point coprocessor (an 8087, 80287, or 80387, respectively). The _8087 variable is set to 0 otherwise.

The autodetection logic can be overridden by setting the 87 environment

variable to YES or NO. (The commandsare SET 87=YES and SET 87=NO; it is

essential that there be no spaces before or after the equal sign.) In this case, the _8087 variable will reflect the override.

Refer to Chapter 9, "Memory management,"in the Programmer's Guide for

more information about the 87 environment variable.

Differences from modern implementations

Nothing recorded yet.

Modern references

These are search links, not yet checked by hand.

Extraction notes

  • heading `8087` read as `_8087`