gml_Fraction.h File Reference


Detailed Description

Extraction of the IEEE floating-point representation to do integer math.

#include <assert.h>
#include <math.h>
#include "gml/base/gml_Types.h"
#include "gml/base/gml_Errors.h"
#include "gml/math/gml_Math.h"

Go to the source code of this file.


Classes

union  gml_TFloatUnion
 A structure to extract the fields of an IEEE 32-bit floating point number. More...
class  gml_TFraction
 Fast integer representation of a floating-point number between 0 and 1. Provides a Merge() method for fast blending of two integers (e.g. for alpha-compositing purposes). More...

Functions

UInt32 Merge (UInt32 a, UInt32 b, UInt8 alpha)
 Return the alpha-compositon of a and b.
Generated on Tue Jun 12 14:03:28 2007 for gml by Doxygen 1.5.2.