|
From: Harald H. <h.h...@tu...> - 2005-09-24 13:29:34
|
On Sat, 24 Sep 2005, Ga=EBl Varoquaux wrote: > So far I haven't expressed my opinion on that subject, and I don't > what to add wood to the flame, but I must say that I am strongly opposed > to 1/2 !=3D 1/2.0 . This just make gnuplot hermetic to non coders. It als= o > makes it behave differently then octave and matlab, and most scientific > programs. I am a coder, but I also think that 1/2 should be equal to 1/2.0. Since gnuplot does not provide explicit variable types you always have to use hacks to make sure that you use floats, e.g. f(a,b)=3Da/(1.0*b). This often leads to bugs in gnuplot scripts. What about Pascal syntax: float =3D a/b int =3D a div b Best regards Harald --=20 Harald Harders h.h...@tu... http://www.harald-harders.de |