Bridge++
Ver. 1.3.x
Main Page
Namespaces
Classes
Files
File List
File Members
evalexpr_global.h
Go to the documentation of this file.
1
13
#ifndef EVALEXPR_GLOBAL_INCLUDED
14
#define EVALEXPR_GLOBAL_INCLUDED
15
16
#include <cmath>
17
18
// global symbol definitions.
19
namespace
{
20
const
_init_function arithmetic_functions[] =
21
{
22
{
"cos"
, cos, },
23
{
"sin"
, sin, },
24
{
"tan"
, tan, },
25
{
"atan"
, atan, },
26
{
"log"
, log, },
27
{
"exp"
, exp, },
28
{
"sqrt"
, sqrt, },
29
{ 0, 0, },
// sentinel
30
};
31
32
const
_init_variable predefined_constants[] =
33
{
34
{
"pi"
, atan(1.0) * 4, },
35
{ 0, 0, },
// sentinel
36
};
37
}
38
#endif
work
sueda3
svn
bridge
branches
release
version1.3
src
Tools
evalexpr_global.h
Generated on Mon Nov 2 2015 22:38:56 for Bridge++ by
1.8.10