math/calc - The NetBSD Packages Collection

Advanced Calculator for GNU Emacs

"Calc" is an advanced calculator and mathematical tool that runs as
part of the GNU Emacs environment.  Very roughly based on the HP-28/48
series of calculators, its many features include:

   * Choice of algebraic or RPN (stack-based) entry of calculations.
   * Arbitrary precision integers and floating-point numbers.
   * Arithmetic on rational numbers, complex numbers (rectangular and
     polar), error forms with standard deviations, open and closed
     intervals, vectors and matrices, dates and times, infinities,
     sets, quantities with units, and algebraic formulas.
   * Mathematical operations such as logarithms and trigonometric
   * Programmer's features (bitwise operations, non-decimal numbers).
   * Financial functions such as future value and internal rate of
   * Number theoretical features such as prime factorization and
     arithmetic modulo M for any M.
   * Algebraic manipulation features, including symbolic calculus.
   * Moving data to and from regular editing buffers.
   * "Embedded mode" for manipulating Calc formulas and data directly
     inside any editing buffer.
   * Graphics using GNUPLOT, a versatile (and free) plotting program.
   * Easy programming using keyboard macros, algebraic formulas,
     algebraic rewrite rules, or extended Emacs Lisp.

Build dependencies


Runtime dependencies


Binary packages


Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options


Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.