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 #ifndef _KJS_OPERATIONS_H_
00024 #define _KJS_OPERATIONS_H_
00025 
00026 #include "value.h"
00027 
00028 namespace KJS {
00029 
00030   class ExecState;
00031 
00035   bool isNaN(double d);
00039   bool isInf(double d);
00040   bool isPosInf(double d);
00041   bool isNegInf(double d);
00042   bool equal(ExecState *exec, const Value& v1, const Value& v2);
00043   bool strictEqual(ExecState *exec, const Value &v1, const Value &v2);
00052   int relation(ExecState *exec, const Value& v1, const Value& v2);
00053   int maxInt(int d1, int d2);
00054   int minInt(int d1, int d2);
00061   Value add(ExecState *exec, const Value &v1, const Value &v2, char oper);
00069   Value mult(ExecState *exec, const Value &v1, const Value &v2, char oper);
00070 
00071 }
00072 
00073 #endif
 
This file is part of the documentation for kjs Library Version 3.2.0.