Public Member Functions | |
TrigFormatter (RexxCallContext *c, bool explicitPrecision, uint32_t p, const char *u) | |
RexxObjectPtr | evaluate (double angle, int function) |
RexxObjectPtr | evaluateArc (double x, int function) |
Public Member Functions inherited from NumericFormatter | |
NumericFormatter (RexxCallContext *c, bool explicitPrecision, uint32_t p) | |
RexxObjectPtr | format (double x) |
Protected Types | |
enum | Units { DEGREES , RADIANS , GRADES } |
Protected Attributes | |
Units | units |
Protected Attributes inherited from NumericFormatter | |
uint32_t | precision |
RexxCallContext * | context |
bool | optionError |
Definition at line 159 of file rxmath.cpp.
|
protected |
Enumerator | |
---|---|
DEGREES | |
RADIANS | |
GRADES |
Definition at line 342 of file rxmath.cpp.
|
inline |
Definition at line 163 of file rxmath.cpp.
References NumericFormatter::context, DEGREES, GRADES, NumericFormatter::optionError, RADIANS, and units.
|
inline |
Definition at line 193 of file rxmath.cpp.
References COSINE, COTANGENT, DEGREES, NumericFormatter::format(), GRADES, MAXTRIG, NULLOBJECT, NumericFormatter::optionError, pi, RADIANS, SINE, TANGENT, and units.
Referenced by RexxRoutine3().
|
inline |
Definition at line 302 of file rxmath.cpp.
References ARCCOSINE, ARCSINE, ARCTANGENT, DEGREES, NumericFormatter::format(), GRADES, NULLOBJECT, NumericFormatter::optionError, pi, and units.
Referenced by RexxRoutine3().
|
protected |
Definition at line 349 of file rxmath.cpp.
Referenced by evaluate(), evaluateArc(), and TrigFormatter().