| cvs.gedasymbols.org/djgpp/doc/libc/libc_130.html | search | 
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] | 
#include <dos.h> int _detect_80387(void);  | 
Detects whether a numeric coprocessor is present. Note that floating-point code will work even without a coprocessor, due to the existence of emulation.
1 if a coprocessor is present, 0 if not.
| ANSI/ISO C | No | 
| POSIX | No | 
if (_detect_80387())
  printf("You have a coprocessor\n");
 | 
| webmaster | delorie software privacy | 
| Copyright © 2004 | Updated Apr 2004 |