Main Page   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

GapeFloat Class Reference

A #define which determines whether to use a float or a double when storing samples. More...

#include <gapeconsts.h>


Detailed Description

A #define which determines whether to use a float or a double when storing samples.

This isn't actually a full C++ class, but simply a #define in gapeconsts.h. This can be changed from float to double (or visa versa) but because its just a #define you will have to recompile for the change to take effect. A double will give more precision, but may cause slower performance on X86 machines. (Although some other architectures, ie SGI, give better performance with doubles - then again, this isn't written for SGI boxes...) Default is a float.

Right now, it is actually defined as a "MY_FLOAT" which is a #define with the same function in the STK library. If you want to change this, you should edit MY_FLOAT in STK's "object.h" Future releases of GAPE may be less dependant on STK, and so a separate #define was created.

Author:
Dave Chisholm
Since:
Beta 1.0
Version:
Last Modified Beta 1.0


The documentation for this class was generated from the following file:
Generated at Thu Jun 21 13:28:51 2001 for GAPE by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001