From: Holger S. <hs...@we...> - 2006-02-09 14:41:00
Hello,
when I do:
plot 1/2
or
a=1/2
plot a
gnuplot shows a line at 0
when I do:
plot 10/2
it shows correct line at 5
plot 1/x shows correct none-linear graphs.
Is it a bug that 1/2 evaluates to 0 ?
Greets
Holger
Holger Sunke wrote:
> Is it a bug that 1/2 evaluates to 0 ?
No. It's intentional, documented behaviour. It's called integer
arithmetics. See "help expressions"