• #### Great

Posted by Legacy on 02/21/2004 12:00am

Originally posted by: Satish

Great Emad.. ... :) Keep it up....
Helped me lot in my project.

Thanks
Satish

Posted by Legacy on 01/03/2004 12:00am

Originally posted by: K.G.

How to add support for operators like ==, >=, <= etc?

• #### Function Evaluator

Posted by Legacy on 09/27/2003 12:00am

Originally posted by: PDJ

Great work. Helps me a lot !

• #### Types

Posted by Legacy on 07/04/2003 12:00am

Originally posted by: Marco Guimar�es

Does this support only Integers? I tried to put a double in the expression (5.3 or 3,6) and I can't get the correct result.

Thanks !

• #### state variable

Posted by Legacy on 04/18/2003 12:00am

Originally posted by: internationale

what do the states represented by the "state" variable 1, 2, 3 in the parse method signify? If you were to give them descriptive names what would you call them?

• #### About function with no args

Posted by Legacy on 04/10/2003 12:00am

Originally posted by: Liu

2 + a() will not work, if a() is a function.
why?

• #### Logn() in Function Evaluator

Posted by Legacy on 02/26/2003 12:00am

Originally posted by: David Keen

The description of the logn() function is incorrect.

The first parameter is the base, the second the number whose log is being taken. E.g. logn(10,2) gives 0.3010, logn(10,100) gives 2 exactly.

So this is not a problem with the function, but with its description in the table.

David

• #### sin(pi).... using pi

Posted by Legacy on 02/14/2003 12:00am

Originally posted by: omoshima

Math.Sin(Math.PI) gives 1.22460635382238E-16 which is obviously not correct because we all know that sin(pi) is really 0... I know this is a precision error, but, how could it be handled? anyone have any discussion about it? answers?

[update]
I figured it out... I just had to handle the case when the person wanted to do sin(pi)... hehe. eaaaaaaasy.

[update]
but, what about multiples of pi? like 2*pi!? blah...

[update]
wait, wait... i think if you just mod by pi it'll be fine... YESS!! It worked!!!

• #### -12+10 doesn't work

Posted by Legacy on 12/12/2002 12:00am

Originally posted by: Chepel

```1) unary minus operator has not implemented...
2) no string support...
3) why not just
(new CSharpCodeProvider()).CreateCompiler() ?

Regards!
=)

```