Bridge++
Version 1.5.4
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
evalexpr_global.h
Go to the documentation of this file.
1
14
#ifndef EVALEXPR_GLOBAL_INCLUDED
15
#define EVALEXPR_GLOBAL_INCLUDED
16
17
#include <cmath>
18
19
// global symbol definitions.
20
namespace
{
21
const
_init_function arithmetic_functions[] =
22
{
23
{
"cos"
, cos, },
24
{
"sin"
, sin, },
25
{
"tan"
, tan, },
26
{
"atan"
, atan, },
27
{
"log"
, log, },
28
{
"exp"
, exp, },
29
{
"sqrt"
, sqrt, },
30
{ 0, 0, },
// sentinel
31
};
32
33
const
_init_variable predefined_constants[] =
34
{
35
{
"pi"
, atan(1.0) * 4, },
36
{ 0, 0, },
// sentinel
37
};
38
}
39
#endif
src
lib
Tools
evalexpr_global.h
Generated on Thu Mar 19 2020 10:28:24 for Bridge++ by
1.8.6