Calculators

insect – high precision scientific calculator supporting physical units

insect is an open source high precision scientific calculator that supports physical units.

insect offers a web version that needs no installation, as well as a command line version.

The software is written in PureScript, a strongly-typed functional programming language that compiles to JavaScript.

Features include:

  • Supports an interactive style with its readline-based interface. There is a saved history that can be browsed by pressing up- and down keys. The history is also searchable via a keyboard shortcut.
  • Strict syntax.
  • Shows 6 significant digits in the result of the calculation. However, the internal numerical precision is significantly higher (30 digits).
  • Evaluate mathematical expressions:
    • Operators: addition, subtraction, multiplication, division, square, modulo, unit conversion, exponentiation, and assignment.
    • Mathematical functions: abs, acos, acosh, asin, asinh, atan, atan2, atanh, ceil, cos, cosh, exp, floor, fromCelsius, fromFahrenheit, gamma, ln, log, log10, maximum, minimum, mean, round, sin, sinh, sqrt, tan, tanh, toCelsius, and toFahrenheit.
    • High-precision numeric type with 30 significant digits that can handle very large (or small) exponents like 10^(10^10).
    • Exponential notation e.g. 6.022e23.
  • Physical units including metric and binary prefixes. All units that are accepted by SI as well as most units of the imperial and US customary systems (and many more).
  • Explicit unit conversions. All SI-accepted units support metric prefixes. In addition, binary prefixes (KiB, MiB, GiB, …) are also supported.
  • Variable assignments such as the mass of the earth, and the oscillation period of a pendulum. Predefined constants include the speed of light, Planck’s constant, electron mass, elementary charge, magnetic constant, and many more.
  • User-defined functions with multiple arguments.
  • Sums and products.
  • Unicode support.
  • Tab completion.
  • Syntax highlighting.
  • SI-compliant pretty printing.
  • Opensearch integration.
  • Arbitrary precision input.
  • Developer provides binaries for Linux (32 and 64 bit), Mac, and Windows (32 bit and 64 bit) operating systems.

Website: github.com/sharkdp/insect
Support: Documentation, GitHub code repository
Developer: David Peter
License: MIT License

Image of insect calculator

Return to Calculators: Terminal-Based Tools


Explore Linux

Best Free and Open Source Software - A huge collection of recommended free and open source software covering every major category.
In-depth Linux Software Reviews - Detailed assessments of Linux software covering features, usability and overall quality.

The Big List of Active Linux Distros - An extensive collection of actively developed Linux distributions.
Open Source Alternatives - Alternatives to software and services from Google, Microsoft, Apple, Adobe, IBM, Autodesk, Oracle and others.
Essential Linux System Tools - Indispensable utilities for monitoring, maintaining and managing Linux systems.
Linux Productivity Tools - Useful utilities for improving productivity and streamlining everyday tasks.
Alternatives to Popular CLI Tools - Modern alternatives to familiar command-line utilities supplied with Linux systems.
Awesome Free Linux Game Tools - Tools, utilities and companion software that improve gaming on Linux.
Machine Learning on Linux - Machine learning and deep learning software, self-hosted applications and practical tools.
Saving Money with Linux - Practical ways to reduce electricity consumption and lower computing costs with Linux.
Linux Candy - Fun, entertaining and sometimes delightfully quirky software from the lighter side of Linux.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted