ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Yura Zotov <yznews@hotbox.ru>
To: mandrake-russian@altlinux.ru
Cc: Henri Bourbon <npecca@yahoo.com>
Subject: Re: [mdk-re] [JT] command line calculator with floating point arithmetics
Date: Fri Oct 19 18:53:01 2001
Message-ID: <20011019185536.A31746@home-pool4-93.com2com.ru> (raw)
In-Reply-To: <20011019182918.A29773@hb.ant-on.net>

On Fri, Oct 19, 2001 at 06:29:18PM +0400, Henri Bourbon wrote:
> > > А нет ли какого-нибудь нормального калькулятора, чтобы не гонять
> > > perl ради `perl -lwe 'print 73.8*29.35'` ?
> 
> Yura Zotov> man bc
> 
> Peter Saveliev> dc
> 
> М-да... Видимо, со мной что-то не то... Видимо, мое желание писать
> calc 2+2
> глупо и нетипично. Видимо, со временем я пойму, почему это недостойно
> звания настоящего самурая, в отличие от гораздо более удобного
> dc -e '2 2 + p'
> или, на худой конец,
> echo '2+2' | bc
> ...
> Кстати, если я правильно понял, ни одна из рекомендованных программ не
> поймет 1e6 и т. п. :(
> Но пока моя надежда найти *научный калькулятор*, а не интерпретатор языка
> Эллочка для стэковой машины, еще не совсем умерла. Ведь калькуляторы
> разных мастей пишут все кому не лень. Подскажите пожалуйста, есть ли
> лучший способ поиска подобных вещей, чем тривиальный поиск
> "linux calculator" в Google ?
> 

В книге Б. Страуструпа "Язык программирования C++" есть параграф
6.1, где он приводит пример калькулятора. Мне кажется, что
применив немного усилий из него можно сделать то, что вам нужно.

--
Юрий А. Зотов



  parent reply	other threads:[~2001-10-19 18:53 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-18 14:54 [mdk-re] " Henri Bourbon
2001-10-18 15:02 ` Peter V. Saveliev
2001-10-18 15:04 ` Yura Zotov
2001-10-19 18:27   ` Henri Bourbon
2001-10-19 18:39     ` cornet
2001-10-19 18:53     ` Yura Zotov [this message]
2001-10-20 17:23     ` Alexey Korotkov
2001-10-23 15:08       ` Grigory Milev
2001-10-23 21:05         ` Henri Bourbon
2001-10-23 21:27           ` Sergey Bolshakov
2001-10-24 11:40             ` Henri Bourbon
2001-10-23 21:30           ` Michael Shigorin
2001-10-24  1:06         ` Alexey Korotkov
2001-10-24 12:20     ` Henri Bourbon
2001-10-24 13:38       ` [mdk-re] [JT] Google rulez Mikhail Zabaluev
2001-10-26 13:35     ` [mdk-re] command line calculator ;)))) Peter V. Saveliev
2001-10-26 16:18       ` [mdk-re] [JT] " Henri Bourbon
2001-10-26 20:39       ` [mdk-re] " Grigory Milev
2001-10-30  1:19         ` [mdk-re] " Mikhail Zabaluev
2001-10-19 19:18 ` [mdk-re] Re: command line calculator with floating point arithmetics Alexander Bokovoy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011019185536.A31746@home-pool4-93.com2com.ru \
    --to=yznews@hotbox.ru \
    --cc=mandrake-russian@altlinux.ru \
    --cc=npecca@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git