Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Jep.net vs Jep Java.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Boul  
View profile  
 More options Dec 22 2011, 10:34 am
From: Boul <jf.b...@gmail.com>
Date: Thu, 22 Dec 2011 07:34:53 -0800 (PST)
Local: Thurs, Dec 22 2011 10:34 am
Subject: Jep.net vs Jep Java.
Hi,

We need to use a parsing a Math Expression Parser int two parts of our
system. Doing that, we will need to use the two "Flavors" of the Jep
librairy (Java and .Net).

Does the Jep java and the Jep.Net support the same set of
functionnalities with the same result or there's some limitation?

Also, I saw  in the documentation that the Jep java have some issues
regarding the accurency of some calculation (ie: 10*0.09 evaluates as
0.8999999999999999) unless you use the new limitating BigDecimal mode.
Does the Jep.Net have the same kind of issue ?

Thanks

Jeff


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard  
View profile  
 More options Dec 22 2011, 3:40 pm
From: Richard <sings...@gmail.com>
Date: Thu, 22 Dec 2011 12:40:37 -0800 (PST)
Local: Thurs, Dec 22 2011 3:40 pm
Subject: Re: Jep.net vs Jep Java.
Hi Jeff,

I'm not particularly up to speed with Jep.Net but it does follow the
more recent Jep version 3 branch but is a couple of minor revisions
behind, so probably 3.0 rather than 3.4. So you should get the
majority of function of the java version. If there are particular
things you need we could probably provide those.

As to the limits of accuracy, the Jep behaviour is exactly the same as
using the double primitive data type. This holds in both Java and C#.
For scientific and engineering applications this is the most
appropriate data-type to use. Appropriate formatting, using printf or
similar will display the numbers correctly. For financial calculations
you will probably want the BigDecimal type, most of the limits of this
type (such as not being able to use the sin function) don't affect
financial calculations. I'm not 100% sure how BigDecimal is
implemented in the C# version, I suspect it might use the C# decimal
type.

Hope thats of help

Richard

On Dec 22, 3:34 pm, Boul <jf.b...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard  
View profile  
 More options Dec 22 2011, 3:47 pm
From: Richard <sings...@gmail.com>
Date: Thu, 22 Dec 2011 12:47:37 -0800 (PST)
Local: Thurs, Dec 22 2011 3:47 pm
Subject: Re: Jep.net vs Jep Java.
Jeff,

Modification to previous post. Jep.Net does not have an equivalent to
BigDecimal or decimal type. It would not be too much work to modify
the code to add these features.

Richard

On Dec 22, 3:34 pm, Boul <jf.b...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Boul  
View profile  
 More options Jan 11 2012, 11:31 am
From: Boul <jf.b...@gmail.com>
Date: Wed, 11 Jan 2012 08:31:41 -0800 (PST)
Local: Wed, Jan 11 2012 11:31 am
Subject: Re: Jep.net vs Jep Java.
Thanks you  Richard for your answer,

I played a little with the .net version and I find out that the
StringFunctionSet component  (http://www.singularsys.com/jep/doc/html/
functions.html#string) seems to be missing in the .net version.
Am I right?

Jeff

On Dec 22 2011, 3:47 pm, Richard <sings...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »