constants

Mathematical numerical named static constants useful for different disciplines

Pure Nim score 30/100 · tests present · docs generated

Summary

Latest Version Unknown
License MIT
CI Status Passing
Downloads 0
Last Indexed 2026-07-21 05:24

Installation

nimble install constants
choosenim install constants
git clone https://github.com/juancarlospaco/nim-constants

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
constants - - - - - - -

Source

Repository https://github.com/juancarlospaco/nim-constants
Homepage https://github.com/juancarlospaco/nim-constants
Documentation View Documentation
Registry Source nimble_official

README

Constants

Mathematical numerical named static constants useful for different disciplines (math, physics, chemistry, biology, engineering, data science, IT, hobby, etc).

Links to Wikipedia and The OnLine Enciclopedia of Integer Sequences provided.

Run nim doc constants.nim for Documentation.

Sources

  • http://wikipedia.org/wiki/List_of_mathematical_constants
  • http://wikipedia.org/wiki/Astronomical_constant#Table_of_astronomical_constants
  • http://wikipedia.org/wiki/Physical_constant#Table_of_physical_constants
  • http://oeis.org

How other programming langs do it?

  • Julia: https://github.com/JuliaLang/julia/blob/master/base/mathconstants.jl
  • Go: https://golang.org/pkg/math/#pkg-constants
  • D: https://dlang.org/phobos/std_math.html#.E
  • R: https://stat.ethz.ch/R-manual/R-devel/library/base/html/Constants.html
  • Python: https://docs.python.org/3/library/math.html#constants
  • Node: No relevant collection of mathematical constants built-in.

Stars

Star nim-constants on GitHub