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


Groups > it.comp.os.linux.software > #5498 > unrolled thread

Portata della calcolatrice Bc

Started byYoda <yoda@pippo.invalid>
First post2021-03-28 18:11 +0000
Last post2021-04-04 14:54 +0200
Articles 6 — 3 participants

Back to article view | Back to it.comp.os.linux.software


Contents

  Portata della calcolatrice Bc Yoda <yoda@pippo.invalid> - 2021-03-28 18:11 +0000
    Re: Portata della calcolatrice Bc Piergiorgio Sartor <piergiorgio.sartor.this.should.not.be.used@nexgo.REMOVETHIS.de> - 2021-03-28 20:16 +0200
      Re: Portata della calcolatrice Bc Yoda <yoda@pippo.invalid> - 2021-03-28 18:33 +0000
        Re: Portata della calcolatrice Bc Giuseppe Della Bianca <giusdbgNO@gmailNO.comNO> - 2021-03-28 19:05 +0000
          Re: Portata della calcolatrice Bc Yoda <yoda@pippo.invalid> - 2021-03-28 20:20 +0000
            Re: Portata della calcolatrice Bc Piergiorgio Sartor <piergiorgio.sartor.this.should.not.be.used@nexgo.REMOVETHIS.de> - 2021-04-04 14:54 +0200

#5498 — Portata della calcolatrice Bc

FromYoda <yoda@pippo.invalid>
Date2021-03-28 18:11 +0000
SubjectPortata della calcolatrice Bc
Message-ID<s3qgso$63h$1@dont-email.me>
/* crosspost linux.software-sys-iniziare (senza f/u) */

Potete dirmi qual e' il numero massimo di cifre che bc puo'
trattare grazie in anticipo?

P.S. Sono con la Debian stable amd64, con kernel bloccato alla
versione:
Linux busterdeb 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24)
 x86_64 GNU/Linux

perche' i successivi non hanno piu' lo scroll shift-pg up/down.

-- 
bye, Yoda

[toc] | [next] | [standalone]


#5499

FromPiergiorgio Sartor <piergiorgio.sartor.this.should.not.be.used@nexgo.REMOVETHIS.de>
Date2021-03-28 20:16 +0200
Message-ID<bpt6jh-o6s.ln1@lazy.lzy>
In reply to#5498
On 28/03/2021 20.11, Yoda wrote:
> /* crosspost linux.software-sys-iniziare (senza f/u) */
> 
> Potete dirmi qual e' il numero massimo di cifre che bc puo'
> trattare grazie in anticipo?

C'e` scritto nella man page, a meno che
tu non intenda altro.

> P.S. Sono con la Debian stable amd64, con kernel bloccato alla
> versione:
> Linux busterdeb 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24)
>  x86_64 GNU/Linux
> 
> perche' i successivi non hanno piu' lo scroll shift-pg up/down.

Davvero?
Interessante...

bye,

-- 

piergiorgio

[toc] | [prev] | [next] | [standalone]


#5500

FromYoda <yoda@pippo.invalid>
Date2021-03-28 18:33 +0000
Message-ID<s3qi52$sa6$1@dont-email.me>
In reply to#5499
Addi' 28 mar 2021 18:16:43, Piergiorgio Sartor scrive:
> On 28/03/2021 20.11, Yoda wrote:

>> /* crosspost linux.software-sys-iniziare (senza f/u) */

>> Potete dirmi qual e' il numero massimo di cifre che bc puo'
>> trattare grazie in anticipo?

> C'e` scritto nella man page, a meno che
> tu non intenda altro.

Puoi dirmi nella tua Fedora qual e' ad esempio l'esponente massimo
ciao e grazie?

-- 
Yoda

[toc] | [prev] | [next] | [standalone]


#5501

FromGiuseppe Della Bianca <giusdbgNO@gmailNO.comNO>
Date2021-03-28 19:05 +0000
Message-ID<s3qk16$3to$1@gioia.aioe.org>
In reply to#5500
Il Sun, 28 Mar 2021 18:33:06 +0000, Yoda ha scritto:

> Addi' 28 mar 2021 18:16:43, Piergiorgio Sartor scrive:
>> On 28/03/2021 20.11, Yoda wrote:
> 
>>> /* crosspost linux.software-sys-iniziare (senza f/u) */
> 
>>> Potete dirmi qual e' il numero massimo di cifre che bc puo'
>>> trattare grazie in anticipo?
> 
>> C'e` scritto nella man page, a meno che tu non intenda altro.
> 
> Puoi dirmi nella tua Fedora qual e' ad esempio l'esponente massimo ciao
> e grazie?


info bc -> Limits


Next: Environment Variables,  Prev: Comparison with Other 
Implementations,  Up: Top

9 Limits
********

The following are the limits currently in place for this 'bc' processor.
Some of them may have been changed by an installation.  Use the 'limits'
statement to see the actual values.

'BC_BASE_MAX'
     The maximum output base is currently set at 999.  The maximum input
     base is 16.

'BC_DIM_MAX'
     This is currently an arbitrary limit of 65535 as distributed.  Your
     installation may be different.

'BC_SCALE_MAX'
     The number of digits after the decimal point is limited to INT_MAX
     digits.  Also, the number of digits before the decimal point is
     limited to INT_MAX digits.

'BC_STRING_MAX'
     The limit on the number of characters in a string is INT_MAX
     characters.

'exponent'
     The value of the exponent in the raise operation (^) is limited to
     LONG_MAX.

'multiply'
     The multiply routine may yield incorrect results if a number has
     more than LONG_MAX / 90 total digits.  For 32 bit longs, this
     number is 23,860,929 digits.

'variable names'
     The current limit on the number of unique names is 32767 for each
     of simple variables, arrays and functions.

[toc] | [prev] | [next] | [standalone]


#5502

FromYoda <yoda@pippo.invalid>
Date2021-03-28 20:20 +0000
Message-ID<s3qof7$33k$1@dont-email.me>
In reply to#5501
Addi' 28 mar 2021 19:05:10, Giuseppe Della Bianca scrive:
> Il Sun, 28 Mar 2021 18:33:06 +0000, Yoda ha scritto:
>> Addi' 28 mar 2021 18:16:43, Piergiorgio Sartor scrive:
>>> On 28/03/2021 20.11, Yoda wrote:

>>>> /* crosspost linux.software-sys-iniziare (senza f/u) */

>>>> Potete dirmi qual e' il numero massimo di cifre che bc puo'
>>>> trattare grazie in anticipo?

>>> C'e` scritto nella man page, a meno che tu non intenda altro.

>> Puoi dirmi nella tua Fedora qual e' ad esempio l'esponente massimo ciao
>> e grazie?

> info bc -> Limits

> Next: Environment Variables,  Prev: Comparison with Other 
> Implementations,  Up: Top

> 9 Limits
> ********

> The following are the limits currently in place for this 'bc' processor.
> Some of them may have been changed by an installation.  Use the 'limits'
> statement to see the actual values.

> 'BC_BASE_MAX'
>      The maximum output base is currently set at 999.  The maximum input
>      base is 16.

> 'BC_DIM_MAX'
>      This is currently an arbitrary limit of 65535 as distributed.  Your
>      installation may be different.

> 'BC_SCALE_MAX'
>      The number of digits after the decimal point is limited to INT_MAX
>      digits.  Also, the number of digits before the decimal point is
>      limited to INT_MAX digits.

> 'BC_STRING_MAX'
>      The limit on the number of characters in a string is INT_MAX
>      characters.

> 'exponent'
>      The value of the exponent in the raise operation (^) is limited to
>      LONG_MAX.

> 'multiply'
>      The multiply routine may yield incorrect results if a number has
>      more than LONG_MAX / 90 total digits.  For 32 bit longs, this
>      number is 23,860,929 digits.

> 'variable names'
>      The current limit on the number of unique names is 32767 for each
>      of simple variables, arrays and functions.


Si' questo l'avevo visto, ma 23 milioni sono che vogliono dire che
come output d'un calcolo il numero deve avere al max 23 milioni di
cifre cioe' di ottetti, come dire un file di venti mega? e poi con
l'amd64 il limite aumenta o resta uguale? ciao e grazie

-- 
Yoda

[toc] | [prev] | [next] | [standalone]


#5503

FromPiergiorgio Sartor <piergiorgio.sartor.this.should.not.be.used@nexgo.REMOVETHIS.de>
Date2021-04-04 14:54 +0200
Message-ID<nhpojh-586.ln1@lazy.lzy>
In reply to#5502
On 28/03/2021 22.20, Yoda wrote:
[...]
> Si' questo l'avevo visto, ma 23 milioni sono che vogliono dire che
> come output d'un calcolo il numero deve avere al max 23 milioni di
> cifre cioe' di ottetti, come dire un file di venti mega? e poi con
> l'amd64 il limite aumenta o resta uguale? ciao e grazie

Ma leggere la man page?

"bc is a language that supports arbitrary
precision numbers"

La domanda sarebbe cosa vuol dire questo,
ma da quello che capisco io non dipende
dalla CPU sottostante.

bye,


-- 

piergiorgio

[toc] | [prev] | [standalone]


Back to top | Article view | it.comp.os.linux.software


csiph-web