ConOpSys V2970  P004.07
ANVILEX control operating system
Macros | Variables
Math_Defines.h File Reference

Diverse mathematical defines header file. More...

#include "Defines.h"
#include <math.h>
Include dependency graph for Math_Defines.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define f32_Pi_MUL_2   (F32)( (F32)2.0f * f32_Pi )
 
#define f32_Pi_MUL_3   (F32)( (F32)3.0f * f32_Pi )
 
#define f32_1_DIV_Pi_MUL_2   (F32)( (F32)1.0f / ( (F32)2.0f * f32_Pi ) )
 
#define f32_2_DIV_Pi   (F32)( (F32)2.0f / f32_Pi )
 
#define f32_Pi_DIV_2   (F32)( f32_Pi / (F32)2.0f )
 
#define f32_Pi_DIV_3   (F32)( f32_Pi / (F32)3.0f )
 
#define f32_Pi_DIV_4   (F32)( f32_Pi / (F32)4.0f )
 
#define f32_Pi_DIV_5   (F32)( f32_Pi / (F32)5.0f )
 
#define f32_Pi_DIV_6   (F32)( f32_Pi / (F32)6.0f )
 
#define f32_Pi_DIV_7   (F32)( f32_Pi / (F32)7.0f )
 
#define f32_Pi_DIV_8   (F32)( f32_Pi / (F32)8.0f )
 
#define f32_Pi_DIV_9   (F32)( f32_Pi / (F32)9.0f )
 
#define f32_Pi_DIV_10   (F32)( f32_Pi / (F32)10.0f )
 
#define f32_Pi_DIV_11   (F32)( f32_Pi / (F32)11.0f )
 
#define f32_Pi_DIV_12   (F32)( f32_Pi / (F32)12.0f )
 
#define f32_Pi_MUL_2_DIV_3   (F32)( f32_Pi * ( (F32)2.0f / (F32)3.0f ) )
 
#define f32_1_DIV_3   (F32)( (F32)1.0f / (F32)3.0f )
 
#define f32_2_DIV_3   (F32)( (F32)2.0f / (F32)3.0f )
 
#define f32_1_DIV_SQRT_2   (F32)( (F32)1.0f / sqrtf( (F32)2.0f ) )
 
#define f32_1_DIV_SQRT_3   (F32)( (F32)1.0f / sqrtf( (F32)3.0f ) )
 
#define f32_2_DIV_SQRT_3   (F32)( (F32)2.0f / sqrtf( (F32)3.0f ) )
 
#define f32_SQRT_2   (F32)1.414213562373095f
 
#define f32_SQRT_3_DIV_2   (F32)( (F32)1.732050807568877f * (F32)0.5f )
 

Variables

const F32 f32_Pi = (F32)3.141592653589793238f
 Definition of Pi as F32. More...
 
const F64 f64_Pi = (F64)3.141592653589793238
 Definition of Pi as F64. More...
 
const F80 f80_Pi = (F80)3.141592653589793238L
 Definition of Pi as F80. More...
 

Detailed Description

Diverse mathematical defines header file.

Attention
No special attention requered.
Revision
2877
Date
2021-10-18 23:04:26 +0500 (Mo, 18 Okt 2021)
Author
minch

Macro Definition Documentation

◆ f32_1_DIV_3

#define f32_1_DIV_3   (F32)( (F32)1.0f / (F32)3.0f )

◆ f32_1_DIV_Pi_MUL_2

#define f32_1_DIV_Pi_MUL_2   (F32)( (F32)1.0f / ( (F32)2.0f * f32_Pi ) )

◆ f32_1_DIV_SQRT_2

#define f32_1_DIV_SQRT_2   (F32)( (F32)1.0f / sqrtf( (F32)2.0f ) )

◆ f32_1_DIV_SQRT_3

#define f32_1_DIV_SQRT_3   (F32)( (F32)1.0f / sqrtf( (F32)3.0f ) )

◆ f32_2_DIV_3

#define f32_2_DIV_3   (F32)( (F32)2.0f / (F32)3.0f )

◆ f32_2_DIV_Pi

#define f32_2_DIV_Pi   (F32)( (F32)2.0f / f32_Pi )

◆ f32_2_DIV_SQRT_3

#define f32_2_DIV_SQRT_3   (F32)( (F32)2.0f / sqrtf( (F32)3.0f ) )

◆ f32_Pi_DIV_10

#define f32_Pi_DIV_10   (F32)( f32_Pi / (F32)10.0f )

◆ f32_Pi_DIV_11

#define f32_Pi_DIV_11   (F32)( f32_Pi / (F32)11.0f )

◆ f32_Pi_DIV_12

#define f32_Pi_DIV_12   (F32)( f32_Pi / (F32)12.0f )

◆ f32_Pi_DIV_2

#define f32_Pi_DIV_2   (F32)( f32_Pi / (F32)2.0f )

◆ f32_Pi_DIV_3

#define f32_Pi_DIV_3   (F32)( f32_Pi / (F32)3.0f )

◆ f32_Pi_DIV_4

#define f32_Pi_DIV_4   (F32)( f32_Pi / (F32)4.0f )

◆ f32_Pi_DIV_5

#define f32_Pi_DIV_5   (F32)( f32_Pi / (F32)5.0f )

◆ f32_Pi_DIV_6

#define f32_Pi_DIV_6   (F32)( f32_Pi / (F32)6.0f )

◆ f32_Pi_DIV_7

#define f32_Pi_DIV_7   (F32)( f32_Pi / (F32)7.0f )

◆ f32_Pi_DIV_8

#define f32_Pi_DIV_8   (F32)( f32_Pi / (F32)8.0f )

◆ f32_Pi_DIV_9

#define f32_Pi_DIV_9   (F32)( f32_Pi / (F32)9.0f )

◆ f32_Pi_MUL_2

#define f32_Pi_MUL_2   (F32)( (F32)2.0f * f32_Pi )

◆ f32_Pi_MUL_2_DIV_3

#define f32_Pi_MUL_2_DIV_3   (F32)( f32_Pi * ( (F32)2.0f / (F32)3.0f ) )

◆ f32_Pi_MUL_3

#define f32_Pi_MUL_3   (F32)( (F32)3.0f * f32_Pi )

◆ f32_SQRT_2

#define f32_SQRT_2   (F32)1.414213562373095f

◆ f32_SQRT_3_DIV_2

#define f32_SQRT_3_DIV_2   (F32)( (F32)1.732050807568877f * (F32)0.5f )

Variable Documentation

◆ f32_Pi

const F32 f32_Pi = (F32)3.141592653589793238f

◆ f64_Pi

const F64 f64_Pi = (F64)3.141592653589793238

Definition of Pi as F64.

◆ f80_Pi

const F80 f80_Pi = (F80)3.141592653589793238L

Definition of Pi as F80.