Newsgroups: comp.lang.c
Path: utzoo!utgpu!jarvis.csri.toronto.edu!ephemeral.ai.toronto.edu!bradb
From: bradb@ai.toronto.edu
Subject: Single precision math in C
Message-ID: <88Dec10.135843est.10521@ephemeral.ai.toronto.edu>
Followup-To: comp.lang.c
Keywords: float, single precision
Sender: Brad Brown <bradb@ai.toronto.edu>
Reply-To: bradb@ai.toronto.edu
Organization: Department of Computer Science, University of Toronto
Date: Sat, 10 Dec 88 13:58:29 EST
Expires: Jan 15, 1989

I am looking for more or less portable ways to get C compilers to perform
floating point math for intrinsic functions like *, /, etc.  In my case,
I write code that runs on IBM ATs with Microsoft C 5.1 and Turbo C 2.0.  
Because some of the machines that I run on have no floating point processor,
it is useful to be able to force single-precision math for speed.  

Is there a reasonably portable way to do what I want?  I would like to 
make sure that I can recompile my programs on (at least) Sun 4s running
SunOS 4.0.

Thanks in advance...

					(-:  Brads  :-)
					bradb@ai.toronto.edu


