www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/08/30/11:15:35

Date: Wed, 30 Aug 1995 16:55:18 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Paul Derbyshire <ao950 AT FreeNet DOT Carleton DOT CA>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Q: Detecting presence of maths copro.

On Wed, 30 Aug 1995, Paul Derbyshire wrote:

> Also, what about detecting a coprocessor so that your code can choose
> between an emulator and a real copro? That way floating point math'll work
> on any machine, but the speed advantage will be there if it runs on a
> system with a real coprocessor. Or is that done automatically by go32 or
> whatever if you include an emulator?

It's done automatically, unless you set the 387 environment variable to 
tell go32 whether you have a 387 (set 387=Y) or not (set 387=N).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019