Go to the first, previous, next, last section, table of contents.


_detect_80387

Syntax

#include <dos.h>

int _detect_80387(void);

Description

Detects whether a numeric coprocessor is present. Note that floating-point will work even without a coprocessor, due to the existence of emulation.

Return Value

1 if a coprocessor is present, 0 if not.

Portability

not ANSI, not POSIX

Example

if (_detect_80387())
  printf("You have a coprocessor\n");


Go to the first, previous, next, last section, table of contents.