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


Groups > linux.debian.user > #224729

Re: what calculator do you use?

From The Wanderer <wanderer@fastmail.fm>
Newsgroups linux.debian.user
Subject Re: what calculator do you use?
Date 2020-07-13 12:50 +0200
Message-ID <As4c1-7d6-1@gated-at.bofh.it> (permalink)
References <As1ea-5sA-15@gated-at.bofh.it> <As3zk-70m-7@gated-at.bofh.it>
Organization This space intentionally left blank.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 2020-07-13 at 06:01, Reco wrote:

> 	Hi.
> 
> On Mon, Jul 13, 2020 at 03:31:10PM +0800, kaye n wrote:
>> Hello Friends,
>> Correct me if I'm wrong, but I don't see any calculator app in my Debian os.
> 
> There are plenty, for all tastes. Try "apt search calculator".
> 
>> What do you guys use? I'm having trouble with Galculator.
> 
> bc, simple as that. Everything else requires more keystokes or a mouse.

What about calc (currently in the package of that name, formerly in the
package apcalc)? That being what I've used for over a decade now.

Reading through the bc man page, it looks to me as if using calc it
should take comparable numbers of keystrokes, aside from typing the name
of the program itself.

In some contexts it could even need fewer; for example, calc (as shipped
in Debian) provides the built-in function 'pi()', which takes a
precision - expressed as a value between zero and one - and returns pi
to that level of precision. The list of built-in functions in the bc man
page is very short, and doesn't include any such thing, so unless
something has added one without the man page getting updated anything
that needs to use pi is going to take more typing than with calc.

calc also has the option to present non-integer output in the form of a
ratio of two integers, which means you don't have to figure out manually
what fraction a given result is; at a skim, I don't see indication that
bc has comparable functionality.

I've heard recommendation of bc before, but to date I've yet to
encounter anything that makes it seem preferable over calc, and I'm
curious what I'm missing.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

what calculator do you use? kaye n <guikaye@gmail.com> - 2020-07-13 09:40 +0200
  Re: what calculator do you use? Alex Mestiashvili <amestia@rsh2.donotuse.de> - 2020-07-13 09:50 +0200
  Re: what calculator do you use? Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-13 09:50 +0200
    Re: what calculator do you use? Linux-Fan <Ma_Sys.ma@web.de> - 2020-07-13 12:40 +0200
      Re: what calculator do you use? rhkramer@gmail.com - 2020-07-13 13:30 +0200
        Re: what calculator do you use? Klaus Singvogel <deb-user-ml@singvogel.net> - 2020-07-13 13:50 +0200
          Re: what calculator do you use? Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-13 14:20 +0200
          Re: what calculator do you use? rhkramer@gmail.com - 2020-07-13 17:20 +0200
        Re: what calculator do you use? Eric S Fraga <e.fraga@ucl.ac.uk> - 2020-07-13 14:30 +0200
          Re: what calculator do you use? Jörg-Volker Peetz <jvpeetz@web.de> - 2020-07-14 11:10 +0200
            Re: what calculator do you use? John Hasler <jhasler@newsguy.com> - 2020-07-14 14:30 +0200
  Re: what calculator do you use? Brad Rogers <brad@fineby.me.uk> - 2020-07-13 10:00 +0200
  Re: what calculator do you use? Marco Möller <talby@debianlists.mobilxpress.net> - 2020-07-13 10:00 +0200
  Re: what calculator do you use? <tomas@tuxteam.de> - 2020-07-13 10:20 +0200
  Re: what calculator do you use? Michael Lange <klappnase@freenet.de> - 2020-07-13 10:30 +0200
  Re: what calculator do you use? Ed Redd <edredd7@gmail.com> - 2020-07-13 10:40 +0200
  Re: what calculator do you use? Joe <joe@jretrading.com> - 2020-07-13 11:00 +0200
  Re: what calculator do you use? Eric S Fraga <e.fraga@ucl.ac.uk> - 2020-07-13 11:40 +0200
    Re: what calculator do you use? Florent Rougon <f.rougon@free.fr> - 2020-07-13 14:50 +0200
      Re: what calculator do you use? Eric S Fraga <e.fraga@ucl.ac.uk> - 2020-07-13 18:10 +0200
        Re: what calculator do you use? "Thomas Schmitt" <scdbackup@gmx.net> - 2020-07-13 19:30 +0200
          Re: what calculator do you use? Eric S Fraga <e.fraga@ucl.ac.uk> - 2020-07-14 08:20 +0200
        Re: what calculator do you use? ghe2001 <ghe2001@protonmail.com> - 2020-07-13 20:20 +0200
  Re: what calculator do you use? Reco <recoverym4n@enotuniq.net> - 2020-07-13 12:10 +0200
    Re: what calculator do you use? The Wanderer <wanderer@fastmail.fm> - 2020-07-13 12:50 +0200
      Re: what calculator do you use? echo test <echotest09@gmail.com> - 2020-07-13 13:40 +0200
      Re: what calculator do you use? Reco <recoverym4n@enotuniq.net> - 2020-07-13 13:40 +0200
      Re: what calculator do you use? Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-13 14:30 +0200
        Re: what calculator do you use? The Wanderer <wanderer@fastmail.fm> - 2020-07-14 01:10 +0200
          Re: what calculator do you use? David Wright <deblis@lionunicorn.co.uk> - 2020-07-14 03:00 +0200
            Re: what calculator do you use? The Wanderer <wanderer@fastmail.fm> - 2020-07-14 03:10 +0200
              Re: what calculator do you use? Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-14 13:30 +0200
  Re: what calculator do you use? Anssi Saari <as@sci.fi> - 2020-07-13 13:40 +0200
  Re: what calculator do you use? Weaver <weaver@riseup.net> - 2020-07-13 13:50 +0200
  Re: what calculator do you use? John Hasler <jhasler@newsguy.com> - 2020-07-13 14:40 +0200
  Re: what calculator do you use? Charles Curley <charlescurley@charlescurley.com> - 2020-07-13 15:40 +0200
  Re: what calculator do you use? Charles Curley <charlescurley@charlescurley.com> - 2020-07-13 15:40 +0200
    Re: what calculator do you use? Cindy Sue Causey <butterflybytes@gmail.com> - 2020-07-13 19:20 +0200
  Re: what calculator do you use? Celejar <celejar@gmail.com> - 2020-07-13 15:50 +0200
  Re: what calculator do you use? Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2020-07-13 17:30 +0200
  Re: what calculator do you use? Wolf Halton <wolf.halton@gmail.com> - 2020-07-13 17:50 +0200
    Re: what calculator do you use? David Wright <deblis@lionunicorn.co.uk> - 2020-07-13 21:20 +0200
    Re: what calculator do you use? Ben Caradoc-Davies <ben@transient.nz> - 2020-07-13 22:00 +0200
  Re: what calculator do you use? Nate Bargmann <n0nb@n0nb.us> - 2020-07-13 19:30 +0200
  Re: what calculator do you use? Ben Caradoc-Davies <ben@transient.nz> - 2020-07-13 21:50 +0200

csiph-web