Files Classes Functions Hierarchy
#include <mathfunc.h>
Public Member Functions | |
| string const | name () const |
| void | visit (deque< rpnbase * > &ds, rpnreal &n) |
| rpnd_to_r () | |
| rpnd_to_r (deque< rpnbase * > &ds, bool const evaluate=true) | |
| ~rpnd_to_r () | |
| rpnbase * | copy () const |
Definition at line 605 of file mathfunc.h.
| rpnd_to_r::rpnd_to_r | ( | ) | [inline] |
Definition at line 615 of file mathfunc.h.
References rpnfunction::eval().
00616 { 00617 if (evaluate) 00618 eval(ds); 00619 else 00620 ds.push_front(this); 00621 }
| rpnd_to_r::~rpnd_to_r | ( | ) | [inline] |
| rpnbase* rpnd_to_r::copy | ( | ) | const [inline, virtual] |
Reimplemented from rpnfunction.
Definition at line 623 of file mathfunc.h.
References rpnd_to_r().
00624 { return new rpnd_to_r(); }
| string const rpnd_to_r::name | ( | ) | const [inline, virtual] |
Reimplemented from rpnfunction.
Definition at line 232 of file mathfunc.cpp.
References mathconstants::d_to_r, and rpnreal::num.
00233 { 00234 n.num *= mathconstants::d_to_r; 00235 }
1.5.8