The math/calc port
calc-2.15.1.0 – C-style arbitrary precision calculator (cvsweb github mirror)
Description
Calc is an interactive calculator which provides for easy large numeric calculations, but which also can be easily programmed for difficult or long calculations using a C-like language featuring variable declarations, expressions, tests, labels, loops, file operations, and function calls, and with a rich set of builtin mathematical and programmatic functions. It can accept a command line argument, in which case it executes that single command and exits. Otherwise, it enters interactive mode. In this mode, it accepts commands one at a time, processes them, and displays the answers. In the simplest case, commands are simply expressions which are evaluated.WWW: http://www.isthe.com/chongo/tech/comp/calc
Maintainer
Stuart Henderson
Categories
Build dependencies
Files
- /usr/local/bin/calc
- /usr/local/bin/cscript/
- /usr/local/bin/cscript/4dsphere
- /usr/local/bin/cscript/fproduct
- /usr/local/bin/cscript/mersenne
- /usr/local/bin/cscript/piforever
- /usr/local/bin/cscript/plus
- /usr/local/bin/cscript/powerterm
- /usr/local/bin/cscript/simple
- /usr/local/bin/cscript/square
- /usr/local/include/calc/
- /usr/local/include/calc/alloc.h
- /usr/local/include/calc/attribute.h
- /usr/local/include/calc/banned.h
- /usr/local/include/calc/blkcpy.h
- /usr/local/include/calc/block.h
- /usr/local/include/calc/bool.h
- /usr/local/include/calc/byteswap.h
- /usr/local/include/calc/calc.h
- /usr/local/include/calc/cmath.h
- /usr/local/include/calc/config.h
- /usr/local/include/calc/custom.h
- /usr/local/include/calc/custom/
- /usr/local/include/calc/decl.h
- /usr/local/include/calc/errtbl.h
- /usr/local/include/calc/file.h
- /usr/local/include/calc/func.h
- /usr/local/include/calc/hash.h
- /usr/local/include/calc/hist.h
- /usr/local/include/calc/int.h
- /usr/local/include/calc/jump.h
- /usr/local/include/calc/label.h
- /usr/local/include/calc/lib_calc.h
- /usr/local/include/calc/lib_util.h
- /usr/local/include/calc/nametype.h
- /usr/local/include/calc/opcodes.h
- /usr/local/include/calc/prime.h
- /usr/local/include/calc/qmath.h
- /usr/local/include/calc/sha1.h
- /usr/local/include/calc/str.h
- /usr/local/include/calc/strl.h
- /usr/local/include/calc/symbol.h
- /usr/local/include/calc/token.h
- /usr/local/include/calc/value.h
- /usr/local/include/calc/version.h
- /usr/local/include/calc/zmath.h
- /usr/local/include/calc/zrand.h
- /usr/local/include/calc/zrandom.h
- /usr/local/lib/libcalc.so.1.0
- /usr/local/lib/libcustcalc.so.1.0
- /usr/local/man/man1/calc.1
- /usr/local/share/calc/
- /usr/local/share/calc/README
- /usr/local/share/calc/alg_config.cal
- /usr/local/share/calc/beer.cal
- /usr/local/share/calc/bernoulli.cal
- /usr/local/share/calc/bernpoly.cal
- /usr/local/share/calc/bigprime.cal
- /usr/local/share/calc/bindings
- /usr/local/share/calc/brentsolve.cal
- /usr/local/share/calc/chi.cal
- /usr/local/share/calc/chrem.cal
- /usr/local/share/calc/comma.cal
- /usr/local/share/calc/constants.cal
- /usr/local/share/calc/custhelp/
- /usr/local/share/calc/custhelp/argv
- /usr/local/share/calc/custhelp/devnull
- /usr/local/share/calc/custhelp/help
- /usr/local/share/calc/custhelp/pmodm127
- /usr/local/share/calc/custhelp/pzasusb8
- /usr/local/share/calc/custhelp/register
- /usr/local/share/calc/custhelp/sysinfo
- /usr/local/share/calc/custom/
- /usr/local/share/calc/custom/argv.cal
- /usr/local/share/calc/custom/halflen.cal
- /usr/local/share/calc/custom/pmodm127.cal
- /usr/local/share/calc/custom/pzasusb8.cal
- /usr/local/share/calc/custom/register.cal
- /usr/local/share/calc/deg.cal
- /usr/local/share/calc/dms.cal
- /usr/local/share/calc/dotest.cal
- /usr/local/share/calc/ellip.cal
- /usr/local/share/calc/factorial.cal
- /usr/local/share/calc/factorial2.cal
- /usr/local/share/calc/fnv_tool.cal
- /usr/local/share/calc/gvec.cal
- /usr/local/share/calc/hello.cal
- /usr/local/share/calc/help/
- /usr/local/share/calc/help/COPYING
- /usr/local/share/calc/help/COPYING-LGPL
- /usr/local/share/calc/help/abs
- /usr/local/share/calc/help/access
- /usr/local/share/calc/help/acos
- /usr/local/share/calc/help/acosh
- /usr/local/share/calc/help/acot
- /usr/local/share/calc/help/acoth
- /usr/local/share/calc/help/acovercos
- /usr/local/share/calc/help/acoversin
- /usr/local/share/calc/help/acrd
- /usr/local/share/calc/help/acsc
- /usr/local/share/calc/help/acsch
- /usr/local/share/calc/help/address
- /usr/local/share/calc/help/aexcsc
- /usr/local/share/calc/help/aexsec
- /usr/local/share/calc/help/agd
- /usr/local/share/calc/help/ahacovercos
- /usr/local/share/calc/help/ahacoversin
- /usr/local/share/calc/help/ahavercos
- /usr/local/share/calc/help/ahaversin
- /usr/local/share/calc/help/append
- /usr/local/share/calc/help/appr
- /usr/local/share/calc/help/archive
- /usr/local/share/calc/help/arg
- /usr/local/share/calc/help/argv
- /usr/local/share/calc/help/arrow
- /usr/local/share/calc/help/asec
- /usr/local/share/calc/help/asech
- /usr/local/share/calc/help/asin
- /usr/local/share/calc/help/asinh
- /usr/local/share/calc/help/assign
- /usr/local/share/calc/help/assoc
- /usr/local/share/calc/help/atan
- /usr/local/share/calc/help/atan2
- /usr/local/share/calc/help/atanh
- /usr/local/share/calc/help/avercos
- /usr/local/share/calc/help/aversin
- /usr/local/share/calc/help/avg
- /usr/local/share/calc/help/base
- /usr/local/share/calc/help/base2
- /usr/local/share/calc/help/bernoulli
- /usr/local/share/calc/help/binding
- /usr/local/share/calc/help/bindings
- /usr/local/share/calc/help/bit
- /usr/local/share/calc/help/blk
- /usr/local/share/calc/help/blkcpy
- /usr/local/share/calc/help/blkfree
- /usr/local/share/calc/help/blocks
- /usr/local/share/calc/help/bround
- /usr/local/share/calc/help/btrunc
- /usr/local/share/calc/help/bug
- /usr/local/share/calc/help/bugs
- /usr/local/share/calc/help/builtin
- /usr/local/share/calc/help/calc
- /usr/local/share/calc/help/calc_tty
- /usr/local/share/calc/help/calclevel
- /usr/local/share/calc/help/calcpath
- /usr/local/share/calc/help/cas
- /usr/local/share/calc/help/catalan
- /usr/local/share/calc/help/ceil
- /usr/local/share/calc/help/cfappr
- /usr/local/share/calc/help/cfsim
- /usr/local/share/calc/help/change
- /usr/local/share/calc/help/changes
- /usr/local/share/calc/help/char
- /usr/local/share/calc/help/cis
- /usr/local/share/calc/help/cmdbuf
- /usr/local/share/calc/help/cmp
- /usr/local/share/calc/help/comb
- /usr/local/share/calc/help/command
- /usr/local/share/calc/help/config
- /usr/local/share/calc/help/conj
- /usr/local/share/calc/help/contrib
- /usr/local/share/calc/help/cos
- /usr/local/share/calc/help/cosh
- /usr/local/share/calc/help/cot
- /usr/local/share/calc/help/coth
- /usr/local/share/calc/help/count
- /usr/local/share/calc/help/covercos
- /usr/local/share/calc/help/coversin
- /usr/local/share/calc/help/cp
- /usr/local/share/calc/help/crd
- /usr/local/share/calc/help/credit
- /usr/local/share/calc/help/csc
- /usr/local/share/calc/help/csch
- /usr/local/share/calc/help/cscript
- /usr/local/share/calc/help/ctime
- /usr/local/share/calc/help/custom
- /usr/local/share/calc/help/custom_cal
- /usr/local/share/calc/help/d2dm
- /usr/local/share/calc/help/d2dms
- /usr/local/share/calc/help/d2g
- /usr/local/share/calc/help/d2r
- /usr/local/share/calc/help/define
- /usr/local/share/calc/help/delete
- /usr/local/share/calc/help/den
- /usr/local/share/calc/help/dereference
- /usr/local/share/calc/help/det
- /usr/local/share/calc/help/digit
- /usr/local/share/calc/help/digits
- /usr/local/share/calc/help/display
- /usr/local/share/calc/help/dms2d
- /usr/local/share/calc/help/dp
- /usr/local/share/calc/help/environment
- /usr/local/share/calc/help/epsilon
- /usr/local/share/calc/help/errcount
- /usr/local/share/calc/help/errmax
- /usr/local/share/calc/help/errno
- /usr/local/share/calc/help/error
- /usr/local/share/calc/help/errorcode
- /usr/local/share/calc/help/errorcodes
- /usr/local/share/calc/help/errsym
- /usr/local/share/calc/help/estr
- /usr/local/share/calc/help/euler
- /usr/local/share/calc/help/eval
- /usr/local/share/calc/help/excsc
- /usr/local/share/calc/help/exp
- /usr/local/share/calc/help/expression
- /usr/local/share/calc/help/exsec
- /usr/local/share/calc/help/fact
- /usr/local/share/calc/help/factor
- /usr/local/share/calc/help/fclose
- /usr/local/share/calc/help/fcnt
- /usr/local/share/calc/help/feof
- /usr/local/share/calc/help/ferror
- /usr/local/share/calc/help/fflush
- /usr/local/share/calc/help/fgetc
- /usr/local/share/calc/help/fgetfield
- /usr/local/share/calc/help/fgetfile
- /usr/local/share/calc/help/fgetline
- /usr/local/share/calc/help/fgets
- /usr/local/share/calc/help/fgetstr
- /usr/local/share/calc/help/fib
- /usr/local/share/calc/help/file
- /usr/local/share/calc/help/files
- /usr/local/share/calc/help/floor
- /usr/local/share/calc/help/fopen
- /usr/local/share/calc/help/forall
- /usr/local/share/calc/help/fpathopen
- /usr/local/share/calc/help/fprintf
- /usr/local/share/calc/help/fputc
- /usr/local/share/calc/help/fputs
- /usr/local/share/calc/help/fputstr
- /usr/local/share/calc/help/frac
- /usr/local/share/calc/help/free
- /usr/local/share/calc/help/freebernoulli
- /usr/local/share/calc/help/freeeuler
- /usr/local/share/calc/help/freeglobals
- /usr/local/share/calc/help/freeredc
- /usr/local/share/calc/help/freestatics
- /usr/local/share/calc/help/frem
- /usr/local/share/calc/help/freopen
- /usr/local/share/calc/help/fscan
- /usr/local/share/calc/help/fscanf
- /usr/local/share/calc/help/fseek
- /usr/local/share/calc/help/fsize
- /usr/local/share/calc/help/ftell
- /usr/local/share/calc/help/full
- /usr/local/share/calc/help/g2d
- /usr/local/share/calc/help/g2gm
- /usr/local/share/calc/help/g2gms
- /usr/local/share/calc/help/g2r
- /usr/local/share/calc/help/gcd
- /usr/local/share/calc/help/gcdrem
- /usr/local/share/calc/help/gd
- /usr/local/share/calc/help/getenv
- /usr/local/share/calc/help/gms2g
- /usr/local/share/calc/help/h2hm
- /usr/local/share/calc/help/h2hms
- /usr/local/share/calc/help/hacovercos
- /usr/local/share/calc/help/hacoversin
- /usr/local/share/calc/help/hash
- /usr/local/share/calc/help/havercos
- /usr/local/share/calc/help/haversin
- /usr/local/share/calc/help/head
- /usr/local/share/calc/help/help
- /usr/local/share/calc/help/highbit
- /usr/local/share/calc/help/history
- /usr/local/share/calc/help/hmean
- /usr/local/share/calc/help/hms2h
- /usr/local/share/calc/help/hnrmod
- /usr/local/share/calc/help/hypot
- /usr/local/share/calc/help/ilog
- /usr/local/share/calc/help/ilog10
- /usr/local/share/calc/help/ilog2
- /usr/local/share/calc/help/im
- /usr/local/share/calc/help/indices
- /usr/local/share/calc/help/inputlevel
- /usr/local/share/calc/help/insert
- /usr/local/share/calc/help/int
- /usr/local/share/calc/help/interrupt
- /usr/local/share/calc/help/intro
- /usr/local/share/calc/help/inverse
- /usr/local/share/calc/help/iroot
- /usr/local/share/calc/help/isalnum
- /usr/local/share/calc/help/isalpha
- /usr/local/share/calc/help/isassoc
- /usr/local/share/calc/help/isatty
- /usr/local/share/calc/help/isblk
- /usr/local/share/calc/help/iscntrl
- /usr/local/share/calc/help/isconfig
- /usr/local/share/calc/help/isdefined
- /usr/local/share/calc/help/isdigit
- /usr/local/share/calc/help/iserror
- /usr/local/share/calc/help/iseven
- /usr/local/share/calc/help/isfile
- /usr/local/share/calc/help/isgraph
- /usr/local/share/calc/help/ishash
- /usr/local/share/calc/help/isident
- /usr/local/share/calc/help/isint
- /usr/local/share/calc/help/islist
- /usr/local/share/calc/help/islower
- /usr/local/share/calc/help/ismat
- /usr/local/share/calc/help/ismult
- /usr/local/share/calc/help/isnull
- /usr/local/share/calc/help/isnum
- /usr/local/share/calc/help/isobj
- /usr/local/share/calc/help/isobjtype
- /usr/local/share/calc/help/isodd
- /usr/local/share/calc/help/isprime
- /usr/local/share/calc/help/isprint
- /usr/local/share/calc/help/isptr
- /usr/local/share/calc/help/ispunct
- /usr/local/share/calc/help/isqrt
- /usr/local/share/calc/help/isrand
- /usr/local/share/calc/help/israndom
- /usr/local/share/calc/help/isreal
- /usr/local/share/calc/help/isrel
- /usr/local/share/calc/help/issimple
- /usr/local/share/calc/help/isspace
- /usr/local/share/calc/help/issq
- /usr/local/share/calc/help/isstr
- /usr/local/share/calc/help/istype
- /usr/local/share/calc/help/isupper
- /usr/local/share/calc/help/isxdigit
- /usr/local/share/calc/help/jacobi
- /usr/local/share/calc/help/join
- /usr/local/share/calc/help/lcm
- /usr/local/share/calc/help/lcmfact
- /usr/local/share/calc/help/lfactor
- /usr/local/share/calc/help/libcalc
- /usr/local/share/calc/help/list
- /usr/local/share/calc/help/ln
- /usr/local/share/calc/help/log
- /usr/local/share/calc/help/log2
- /usr/local/share/calc/help/logn
- /usr/local/share/calc/help/lowbit
- /usr/local/share/calc/help/ltol
- /usr/local/share/calc/help/makelist
- /usr/local/share/calc/help/mat
- /usr/local/share/calc/help/matdim
- /usr/local/share/calc/help/matfill
- /usr/local/share/calc/help/matmax
- /usr/local/share/calc/help/matmin
- /usr/local/share/calc/help/matsum
- /usr/local/share/calc/help/mattrace
- /usr/local/share/calc/help/mattrans
- /usr/local/share/calc/help/max
- /usr/local/share/calc/help/memsize
- /usr/local/share/calc/help/meq
- /usr/local/share/calc/help/min
- /usr/local/share/calc/help/minv
- /usr/local/share/calc/help/mmin
- /usr/local/share/calc/help/mne
- /usr/local/share/calc/help/mod
- /usr/local/share/calc/help/modify
- /usr/local/share/calc/help/name
- /usr/local/share/calc/help/near
- /usr/local/share/calc/help/new_custom
- /usr/local/share/calc/help/newerror
- /usr/local/share/calc/help/nextcand
- /usr/local/share/calc/help/nextprime
- /usr/local/share/calc/help/norm
- /usr/local/share/calc/help/null
- /usr/local/share/calc/help/num
- /usr/local/share/calc/help/obj
- /usr/local/share/calc/help/oldvalue
- /usr/local/share/calc/help/operator
- /usr/local/share/calc/help/ord
- /usr/local/share/calc/help/overview
- /usr/local/share/calc/help/param
- /usr/local/share/calc/help/perm
- /usr/local/share/calc/help/pfact
- /usr/local/share/calc/help/pi
- /usr/local/share/calc/help/pix
- /usr/local/share/calc/help/places
- /usr/local/share/calc/help/pmod
- /usr/local/share/calc/help/polar
- /usr/local/share/calc/help/poly
- /usr/local/share/calc/help/pop
- /usr/local/share/calc/help/popcnt
- /usr/local/share/calc/help/pound
- /usr/local/share/calc/help/power
- /usr/local/share/calc/help/prevcand
- /usr/local/share/calc/help/prevprime
- /usr/local/share/calc/help/printf
- /usr/local/share/calc/help/prompt
- /usr/local/share/calc/help/protect
- /usr/local/share/calc/help/ptest
- /usr/local/share/calc/help/push
- /usr/local/share/calc/help/putenv
- /usr/local/share/calc/help/questions
- /usr/local/share/calc/help/quo
- /usr/local/share/calc/help/quomod
- /usr/local/share/calc/help/r2d
- /usr/local/share/calc/help/r2g
- /usr/local/share/calc/help/rand
- /usr/local/share/calc/help/randbit
- /usr/local/share/calc/help/random
- /usr/local/share/calc/help/randombit
- /usr/local/share/calc/help/randperm
- /usr/local/share/calc/help/rcin
- /usr/local/share/calc/help/rcmul
- /usr/local/share/calc/help/rcout
- /usr/local/share/calc/help/rcpow
- /usr/local/share/calc/help/rcsq
- /usr/local/share/calc/help/re
- /usr/local/share/calc/help/releases
- /usr/local/share/calc/help/remove
- /usr/local/share/calc/help/resource
- /usr/local/share/calc/help/reverse
- /usr/local/share/calc/help/rewind
- /usr/local/share/calc/help/rm
- /usr/local/share/calc/help/root
- /usr/local/share/calc/help/round
- /usr/local/share/calc/help/rsearch
- /usr/local/share/calc/help/runtime
- /usr/local/share/calc/help/saveval
- /usr/local/share/calc/help/scale
- /usr/local/share/calc/help/scan
- /usr/local/share/calc/help/scanf
- /usr/local/share/calc/help/script
- /usr/local/share/calc/help/search
- /usr/local/share/calc/help/sec
- /usr/local/share/calc/help/sech
- /usr/local/share/calc/help/seed
- /usr/local/share/calc/help/segment
- /usr/local/share/calc/help/select
- /usr/local/share/calc/help/sgn
- /usr/local/share/calc/help/sha1
- /usr/local/share/calc/help/sin
- /usr/local/share/calc/help/sinh
- /usr/local/share/calc/help/size
- /usr/local/share/calc/help/sizeof
- /usr/local/share/calc/help/sleep
- /usr/local/share/calc/help/sort
- /usr/local/share/calc/help/sqrt
- /usr/local/share/calc/help/srand
- /usr/local/share/calc/help/srandom
- /usr/local/share/calc/help/ssq
- /usr/local/share/calc/help/statement
- /usr/local/share/calc/help/stoponerror
- /usr/local/share/calc/help/str
- /usr/local/share/calc/help/strcasecmp
- /usr/local/share/calc/help/strcat
- /usr/local/share/calc/help/strcmp
- /usr/local/share/calc/help/strcpy
- /usr/local/share/calc/help/strerror
- /usr/local/share/calc/help/strlen
- /usr/local/share/calc/help/strncasecmp
- /usr/local/share/calc/help/strncmp
- /usr/local/share/calc/help/strncpy
- /usr/local/share/calc/help/strpos
- /usr/local/share/calc/help/strprintf
- /usr/local/share/calc/help/strscan
- /usr/local/share/calc/help/strscanf
- /usr/local/share/calc/help/strtolower
- /usr/local/share/calc/help/strtoupper
- /usr/local/share/calc/help/substr
- /usr/local/share/calc/help/sum
- /usr/local/share/calc/help/swap
- /usr/local/share/calc/help/system
- /usr/local/share/calc/help/systime
- /usr/local/share/calc/help/tail
- /usr/local/share/calc/help/tan
- /usr/local/share/calc/help/tanh
- /usr/local/share/calc/help/test
- /usr/local/share/calc/help/time
- /usr/local/share/calc/help/todo
- /usr/local/share/calc/help/trunc
- /usr/local/share/calc/help/type
- /usr/local/share/calc/help/types
- /usr/local/share/calc/help/unexpected
- /usr/local/share/calc/help/usertime
- /usr/local/share/calc/help/variable
- /usr/local/share/calc/help/vercos
- /usr/local/share/calc/help/versin
- /usr/local/share/calc/help/version
- /usr/local/share/calc/help/wishlist
- /usr/local/share/calc/help/xor
- /usr/local/share/calc/hms.cal
- /usr/local/share/calc/infinities.cal
- /usr/local/share/calc/intfile.cal
- /usr/local/share/calc/intnum.cal
- /usr/local/share/calc/lambertw.cal
- /usr/local/share/calc/linear.cal
- /usr/local/share/calc/lnseries.cal
- /usr/local/share/calc/lucas.cal
- /usr/local/share/calc/lucas_chk.cal
- /usr/local/share/calc/mersenne.cal
- /usr/local/share/calc/mfactor.cal
- /usr/local/share/calc/mod.cal
- /usr/local/share/calc/natnumset.cal
- /usr/local/share/calc/palindrome.cal
- /usr/local/share/calc/pell.cal
- /usr/local/share/calc/pi.cal
- /usr/local/share/calc/pix.cal
- /usr/local/share/calc/pollard.cal
- /usr/local/share/calc/poly.cal
- /usr/local/share/calc/prompt.cal
- /usr/local/share/calc/psqrt.cal
- /usr/local/share/calc/qtime.cal
- /usr/local/share/calc/quat.cal
- /usr/local/share/calc/randbitrun.cal
- /usr/local/share/calc/randmprime.cal
- /usr/local/share/calc/randombitrun.cal
- /usr/local/share/calc/randomrun.cal
- /usr/local/share/calc/randrun.cal
- /usr/local/share/calc/regress.cal
- /usr/local/share/calc/repeat.cal
- /usr/local/share/calc/screen.cal
- /usr/local/share/calc/seedrandom.cal
- /usr/local/share/calc/set8700.line
- /usr/local/share/calc/smallfactors.cal
- /usr/local/share/calc/solve.cal
- /usr/local/share/calc/specialfunctions.cal
- /usr/local/share/calc/splitbits.cal
- /usr/local/share/calc/statistics.cal
- /usr/local/share/calc/strings.cal
- /usr/local/share/calc/sumsq.cal
- /usr/local/share/calc/sumtimes.cal
- /usr/local/share/calc/surd.cal
- /usr/local/share/calc/test2300.obj_incdec.cal
- /usr/local/share/calc/test2600.numfunc.cal
- /usr/local/share/calc/test2700.isqrt.cal
- /usr/local/share/calc/test3100.matobj.cal
- /usr/local/share/calc/test3300.det.cal
- /usr/local/share/calc/test3400.trig.cal
- /usr/local/share/calc/test4000.ptest.cal
- /usr/local/share/calc/test4100.redc.cal
- /usr/local/share/calc/test4600.fileop.cal
- /usr/local/share/calc/test5100.newdecl.cal
- /usr/local/share/calc/test5200.globstat.cal
- /usr/local/share/calc/test8000.read.cal
- /usr/local/share/calc/test8400.quit.cal
- /usr/local/share/calc/test8500.divmod.cal
- /usr/local/share/calc/test8600.maxargs.cal
- /usr/local/share/calc/test8700.dotest.cal
- /usr/local/share/calc/test8900.special.cal
- /usr/local/share/calc/test9300.frem.cal
- /usr/local/share/calc/test9500.trigeq.cal
- /usr/local/share/calc/toomcook.cal
- /usr/local/share/calc/unitfrac.cal
- /usr/local/share/calc/varargs.cal
- /usr/local/share/calc/write2file.cal
- /usr/local/share/calc/xx_print.cal
- /usr/local/share/calc/zeta2.cal