Logo Search packages:      
Sourcecode: blender version File versions

eval.c File Reference

Detailed Description

simple arithmetic expression evaluator.

see http://joe.hotchkiss.com/programming/eval/eval.html

Definition in file eval.c.

#include "avcodec.h"
#include "mpegvideo.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>

Go to the source code of this file.


struct  Parser


#define M_PI   3.14159265358979323846
#define NAN   0


static double evalExpression (Parser *p)
static double evalFactor (Parser *p)
static double evalPow (Parser *p)
static double evalPrimary (Parser *p)
static double evalTerm (Parser *p)
double ff_eval (char *s, double *const_value, const char **const_name, double(**func1)(void *, double), const char **func1_name, double(**func2)(void *, double, double), char **func2_name, void *opaque)
static int strmatch (const char *s, const char *prefix)

Generated by  Doxygen 1.6.0   Back to index