#ifndef MATH_OBJECT_H_
#define MATH_OBJECT_H_
#include "function_object.h"
#include "lookup.h"
namespace KJS {
class MathObjectImp : public JSObject {
public:
MathObjectImp(ExecState*, ObjectPrototype*);
bool getOwnPropertySlot(ExecState*, const Identifier&, PropertySlot&);
JSValue* getValueProperty(ExecState*, int token) const;
virtual const ClassInfo* classInfo() const { return &info; }
static const ClassInfo info;
enum { Euler, Ln2, Ln10, Log2E, Log10E, Pi, Sqrt1_2, Sqrt2 };
};
JSValue* mathProtoFuncAbs(ExecState*, JSObject*, const List&);
JSValue* mathProtoFuncACos(ExecState*, JSObject*, const List&);
JSValue* mathProtoFuncASin(ExecState*, JSObject*, const List&);
JSValue* mathProtoFuncATan(ExecState*, JSObject*, const List&);
JSValue* mathProtoFuncATan2(ExecState*, JSObject*, const List&);
JSValue* mathProtoFuncCeil(ExecState*, JSObject*, const List&);
JSValue* mathProtoFuncCos(ExecState*, JSObject*, const List&);
JSValue* mathProtoFuncExp(ExecState*, JSObject*, const List&);
JSValue* mathProtoFuncFloor(ExecState*, JSObject*, const List&);
JSValue* mathProtoFuncLog(ExecState*, JSObject*, const List&);
JSValue* mathProtoFuncMax(ExecState*, JSObject*, const List&);
JSValue* mathProtoFuncMin(ExecState*, JSObject*, const List&);
JSValue* mathProtoFuncPow(ExecState*, JSObject*, const List&);
JSValue* mathProtoFuncRandom(ExecState*, JSObject*, const List&);
JSValue* mathProtoFuncRound(ExecState*, JSObject*, const List&);
JSValue* mathProtoFuncSin(ExecState*, JSObject*, const List&);
JSValue* mathProtoFuncSqrt(ExecState*, JSObject*, const List&);
JSValue* mathProtoFuncTan(ExecState*, JSObject*, const List&);
}
#endif // MATH_OBJECT_H_