Install apcalc-dev by entering the following commands in the terminal:

sudo apt update sudo apt install apcalc-dev

Description:

*Library for arbitrary precision arithmetic*

This package contains the library libcalc.a and the necessary header files which provide routines to handle arbitrary precision arithmetic with integers, rational numbers, or complex numbers. There are also many numeric functions such as factorial and gcd, along with some transcendental functions such as sin and exp. . This library is also used by the commandline calculator `calc', which is provided in the Debian package `apcalc'.

Homepage: http://www.isthe.com/chongo/tech/comp/calc/

Version: 2.12.5.0-1build1

Section: universe/devel