elvish/website/ref/math.md
Kurtis Rader f59e96204e Document and add math functions
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
2020-04-10 18:15:38 +01:00

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