Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37421694
en ru br
ALT Linux repos
S:20200101-alt1

Group :: Sciences/Mathematics
RPM: spigot

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Current version: 20200101-alt1
Build date: 15 may 2020, 13:06 ( 205.1 weeks ago )
Size: 346.59 Kb

Home page:   https://www.chiark.greenend.org.uk/~sgtatham/spi…

License: MIT
Summary: A command-line streaming exact real calculator
Description:

A normal calculating program, given a mathematical expression to
evaluate, will want to know in advance how many digits of output are
needed (if it even has that option), and if the expression includes
more than one successive operation, then rounding errors will build up
so that the last few digits are potentially wrong, or perhaps more in
some cases (e.g. if significance loss occurs).

spigot, by contrast, does not output any digit of the answer until it's
sure that the digit is right, and it will keep generating digits until
you tell it to stop.

Also, spigot is "streaming" in the sense that if you tell it to do
computations on a number you've previously stored in a file (perhaps to
very high precision) or a number it's reading from a pipe, then it will
begin producing output as soon as it's read enough of the input to know
how the output starts.

The downside is that spigot is very slow compared to the usual kind of
computer arithmetic. But it can be useful if you really need a lot of
digits for some reason (e.g. a large number of digits of mathematical
constants are sometimes incorporated into cryptographic algorithms), or
as a cross-check on other calculating systems.

Current maintainer: Fr. Br. George

List of contributors

List of rpms provided by this srpm:

  • spigot
  • spigot-debuginfo
ACL:
     
    design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
    current maintainer: Michael Shigorin