Alain Matthes | 17 Mar 18:55
Picon
Gravatar

bug in pgfmath 2.00 and 2.00 CVS

Hi

I would like to know if it's only with me but

\pgfmathparse{30+100.2*(120-50)/200.4}
\pgfmathresult 

gives 33.5

\pgfmathparse{30+100*(120-50)/200}
\pgfmathresult 

gives 65

it's not very fun  and I have the same 
result with pgf 2 and pgf 2 CVS

A solution is 

\pgfmathparse{30+100.2/200.4*(120-50)}
  \pgfmathresult  

But it's a really problem because 
I have to change all my codes

Best Regards

Alain Matthes

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

Gmane