operations.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef _KJS_OPERATIONS_H_
00025 #define _KJS_OPERATIONS_H_
00026
00027 #include "value.h"
00028
00029 namespace KJS {
00030
00031 class ExecState;
00032
00036 bool isNaN(double d);
00040 bool isInf(double d);
00041 bool isPosInf(double d);
00042 bool isNegInf(double d);
00043 bool equal(ExecState *exec, const Value& v1, const Value& v2);
00044 bool strictEqual(ExecState *exec, const Value &v1, const Value &v2);
00053 int relation(ExecState *exec, const Value& v1, const Value& v2);
00054 int maxInt(int d1, int d2);
00055 int minInt(int d1, int d2);
00062 Value add(ExecState *exec, const Value &v1, const Value &v2, char oper);
00070 Value mult(ExecState *exec, const Value &v1, const Value &v2, char oper);
00071
00072 };
00073
00074 #endif
This file is part of the documentation for kdelibs Version 3.1.0.