xine-lib 1.2.13-20230125hg15249
Macros
mathtools.h File Reference
#include "mathtools.c"

Go to the source code of this file.

Macros

#define _double2fixmagic   (68719476736.0*1.5)
 
#define _shiftamt   16
 
#define iexp_   1
 
#define iman_   0
 
#define F2I(dbl, i)   i=(int)dbl;
 
#define SINCOS(f, s, c)   {s=sin(f);c=cos(f);}
 

Macro Definition Documentation

◆ _double2fixmagic

#define _double2fixmagic   (68719476736.0*1.5)

◆ _shiftamt

#define _shiftamt   16

◆ F2I

#define F2I ( dbl,
i )   i=(int)dbl;

Referenced by v3d_to_v2d().

◆ iexp_

#define iexp_   1

◆ iman_

#define iman_   0

◆ SINCOS

#define SINCOS ( f,
s,
c )   {s=sin(f);c=cos(f);}

Referenced by grid3d_update(), and surf3d_rotate().