nmpp
Титульная страница
nmpp
Структуры данных
Файлы
Файлы
Список членов всех файлов
include
nmtl
tfixpointmath.h
1
#ifndef _tfixpoint_MATH
2
#define _tfixpoint_MATH
3
#include <math.h>
4
5
6
template
<
class
T,
int
po
int
> __INLINE__
tfixpoint<T,point>
pow (
tfixpoint<T,point>
a,
tfixpoint<T,point>
b) {
return
pow(a.flt(), b.flt());}
7
template
<
class
T,
int
po
int
> __INLINE__
tfixpoint<T,point>
fabs(
tfixpoint<T,point>
a) {
return
fabs(a.flt());}
8
template
<
class
T,
int
po
int
> __INLINE__
tfixpoint<T,point>
log (
tfixpoint<T,point>
a) {
return
log (a.flt());}
9
template
<
class
T,
int
po
int
> __INLINE__
tfixpoint<T,point>
sqrt(
tfixpoint<T,point>
a) {
return
sqrt(a.flt());}
10
template
<
class
T,
int
po
int
> __INLINE__
tfixpoint<T,point>
cos (
tfixpoint<T,point>
a) {
return
cos (a.flt());}
11
template
<
class
T,
int
po
int
> __INLINE__
tfixpoint<T,point>
sin (
tfixpoint<T,point>
a) {
return
sin (a.flt());}
12
13
14
#endif
tfixpoint
Definition:
tfixpoint.h:52
Создано системой
1.9.5