(.using
  [library
   [lux {"-" char}
    ["$" documentation {"+" documentation:}]
    [data
     [text
      ["%" format {"+" format}]]
     [collection
      ["[0]" list]]]]]
  ["[0]" / "_"
   ["[1][0]" infix]
   ["[1][0]" modulus]
   ["[1][0]" modular]
   ["[1][0]" number]
   ["[1][0]" logic]
   ["[1][0]" random]]
  [\\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
             /number.documentation
             /logic.documentation
             /random.documentation]))
