Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2852
| Newsgroups | comp.graphics.apps.gnuplot |
|---|---|
| Date | 2015-04-01 03:43 -0700 |
| Message-ID | <b286ed07-4f0a-4fd2-bf03-dd3176de25f0@googlegroups.com> (permalink) |
| Subject | Curiosity: Arithmetic operations and leading zeros |
| From | j.strecha@gmail.com |
Hi, I recently discovered something curious about arithmetic operations in gnuplot: > gnuplot> print 2*66 > 132 > gnuplot> print 2*066 > 108 (gnuplot 5.0 patchlevel rc2) Apparently the multiplication behaves differently when leading zeros are present. Is this a bug, or a feature? Regards, JS
Back to comp.graphics.apps.gnuplot | Previous | Next — Next in thread | Find similar | Unroll thread
Curiosity: Arithmetic operations and leading zeros j.strecha@gmail.com - 2015-04-01 03:43 -0700
Re: Curiosity: Arithmetic operations and leading zeros Richard Owlett <rowlett@cloud85.net> - 2015-04-01 06:25 -0500
Re: Curiosity: Arithmetic operations and leading zeros j.strecha@gmail.com - 2015-04-01 05:57 -0700
Re: Curiosity: Arithmetic operations and leading zeros Karl <mail.kfr@gmx.net> - 2015-04-02 20:43 +0200
csiph-web