Skip to content
- [Main Page](index.md) - [Classes](annotated.md) - [Files](files.md) - [Directories](dirs.md) - [Related Pages](pages.md)
- [File List](files.md) - [File Members](globals.md)

Fastftol.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Defines

#define  __FASTFTOL_H
#define  ASSEMBLER_OPTIMIZATIONS   1
#define  FAST_ROUND(fx, x)

Functions

int  fast_round (float d)
int  fast_ftol_unsigned (float d)
int  fast_ftol_signed (float d)
int  fast_floor (float d)
  __declspec (naked) float __fastcall InverseSqrt(float a)

Define Documentation

#define __FASTFTOL_H
  Definition at line 3 of file Fastftol.h.

#define ASSEMBLER_OPTIMIZATIONS   1
  Definition at line 6 of file Fastftol.h.

#define FAST_ROUND

fx,

 

Value:

{ \
      float __fx = (fx); \
      _asm fld __fx \
      _asm fistp x \
   }

Definition at line 8 of file Fastftol.h.

Referenced by fast_round().


Function Documentation

__declspec naked   )  [inline]
 

Definition at line 122 of file Fastftol.h.

References float().

Here is the call graph for this function:

int fast_floor float  d  )  [inline]
  Definition at line 86 of file Fastftol.h.

int fast_ftol_signed float  d  )  [inline]
  Definition at line 53 of file Fastftol.h.

int fast_ftol_unsigned float  d  )  [inline]
 

Definition at line 32 of file Fastftol.h.

References abs().

Referenced by ColorBuf::ColorBuf(), ColorBuf::Set(), and ColorBuf::SetOpacity().

Here is the call graph for this function:

int fast_round float  d  )  [inline]
 

Definition at line 18 of file Fastftol.h.

References FAST_ROUND.

Referenced by YAByte::GammaCorrect(), RGBByte::GammaCorrect(), GammaCorrect(), GammaCorrectColBuf(), RGBFloat::GetCOLORREF(), and ColorVector::GetCOLORREF().


This A:M SDK v12.0 documentation is maintained by Hash Inc. Please address any comments concerning this documentation to AMReports. If you have any information, knowledge, or documentation to share with the A:M developer community, please post them on the Hash SDK forum.

Generated on Thu Oct 27 11:46:47 2005 with doxygen 1.4.5 written by Dimitri van Heesch, © 1997-2001