mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-14 02:57:52 +08:00
f59e96204e
In addition to documenting the `math:` module introduced by commit 2d8a045c
two months ago this also:
a) restructures the code to match that of the `re:` and `str:` modules, and
b) adds many more useful constants and functions.
I don't think this completely addresses issue #727 so I'm marking this
as related to, rather than fixing, that issue.
Related #727
403 B
403 B
Introduction
The math:
module provides mathematical functions and constants.
Function usages are given in the same format as in the reference doc for the builtin module. In particular, all the commands in this module conform to the pattern of commands that operate on numbers.
@elvdoc -ns math: -dir ../pkg/eval/math