#include <cmath>
#include <string>
#include "tu_random.h"
#include "fn_call.h"
#include "GMath.h"
#include "log.h"
#include "tu_math.h"
Namespaces | |
namespace | gnash |
Defines | |
#define | MATH_WRAP_FUNC1(funcname) |
#define | MATH_WRAP_FUNC2_EXP(funcname, expr) |
Functions | |
void | gnash::math_init (as_object *s_global) |
gnash::MATH_WRAP_FUNC2_EXP (atan2,(atan2(arg0, arg1))) MATH_WRAP_FUNC2_EXP(max | |
arg0 arg1 arg0< arg1?arg0:arg1)) MATH_WRAP_FUNC2_EXP(pow,(pow(arg0, arg1))) void math_random(const fn_call &fn){fn.result-> | gnash::set_double (tu_random::next_random()/double(uint32_t(0x0FFFFFFFF))) |
void | gnash::math_round (const fn_call &fn) |
void | gnash::math_new (const fn_call &fn) |
void | gnash::math_abs (const fn_call &fn) |
Variables | |
arg0 arg1 | gnash::arg0 |
|
Value: |
|
Value: |