Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #4378

Re: What am I missing?

Newsgroups comp.graphics.apps.gnuplot
Date 2020-12-04 11:51 -0800
References <61b9cd9a-2508-400e-abf6-fc823fe9e28an@googlegroups.com> <rqe1m5$5co$1@dont-email.me>
Message-ID <f3ade688-e10d-4f8c-87be-0ecfeecdc571n@googlegroups.com> (permalink)
Subject Re: What am I missing?
From Al Greynolds <layzarc@aol.com>

Show all headers | View raw


On Friday, December 4, 2020 at 12:12:08 PM UTC-7, Chris Elvidge wrote:

> Note that gnuplot uses both "real" and "integer" arithmetic, like 
> FORTRAN and C. Integers are entered as "1", "-10", etc; reals as "1.0", 
> "-10.0", "1e1", 3.5e-1, etc. The most important difference between the 
> two forms is in division: division of integers truncates: 5/2 = 2; 
> division of reals does not: 5.0/2.0 = 2.5. 
> 
> 
> -- 
> Chris Elvidge 
> England

Duh! Thanks.  I'm used to working in another app where all numbers are stored as doubles.

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Find similar


Thread

What am I missing? Al Greynolds <layzarc@aol.com> - 2020-12-04 08:10 -0800
  Re: What am I missing? Chris Elvidge <chris@mshome.net> - 2020-12-04 19:12 +0000
    Re: What am I missing? Al Greynolds <layzarc@aol.com> - 2020-12-04 11:51 -0800

csiph-web