aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/math.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/documentation/lux/math.lux59
1 files changed, 3 insertions, 56 deletions
diff --git a/stdlib/source/documentation/lux/math.lux b/stdlib/source/documentation/lux/math.lux
index 10bd8a1f3..06db95c3a 100644
--- a/stdlib/source/documentation/lux/math.lux
+++ b/stdlib/source/documentation/lux/math.lux
@@ -1,6 +1,6 @@
(.using
[library
- [lux {"-" char}
+ [lux "*"
["$" documentation {"+" documentation:}]
[data
[text
@@ -17,64 +17,11 @@
[\\library
["[0]" /]])
-(documentation: /.e
- "The base of the natural logarithm.")
-
-(documentation: /.pi
- "The ratio of a circle's circumference to its diameter.")
-
-(documentation: /.tau
- "The ratio of a circle's circumference to its radius.")
-
-(documentation: /.pow
- ""
- [(pow param subject)])
-
-(documentation: /.atan_2
- ""
- [(atan_2 x y)])
-
-(documentation: /.log_by
- ""
- [(log_by base it)])
-
(.def: .public documentation
(.List $.Module)
($.module /._
- "Common mathematical constants and functions."
- [..e
- ..pi
- ..tau
- ..pow
- ..atan_2
- ..log_by
- ($.default /.cos)
- ($.default /.sin)
- ($.default /.tan)
- ($.default /.acos)
- ($.default /.asin)
- ($.default /.atan)
- ($.default /.exp)
- ($.default /.log)
- ($.default /.ceil)
- ($.default /.floor)
- ($.default /.root_2)
- ($.default /.root_3)
- ($.default /.round)
- ($.default /.factorial)
- ($.default /.hypotenuse)
- ($.default /.sinh)
- ($.default /.csch)
- ($.default /.cosh)
- ($.default /.sech)
- ($.default /.tanh)
- ($.default /.coth)
- ($.default /.asinh)
- ($.default /.acosh)
- ($.default /.atanh)
- ($.default /.acoth)
- ($.default /.asech)
- ($.default /.acsch)]
+ ""
+ []
[/infix.documentation
/modulus.documentation
/modular.documentation