Skip to content
Giorgio Garofalo edited this page Jan 26, 2025 · 8 revisions

Mathematical functions provide a way of performing numeric operations.

.var {radius} {8}
 
If we try to calculate the **surface** of a circle of **radius .radius**,
we'll find out it's **.multiply {.pow {.radius} to:{2}} by:{.pi}**

If we try to calculate the surface of a circle of radius 8, we’ll find out it’s 201.06194

 

Handling complex math is particularly effective when used in combination with function call chaining. The following two calls are equivalent, with the latter being more natural:

.multiply {.pow {.radius} to:{2}} by:{.pi}
.pow {.radius} to:{2}::multiply {.pi}

 

Please refer to stdlib's Math for a complete list of available functions.

Getting started [NEW!]

Documentation

CLI tools

Markdown enhancements

Functions

Setting up

Multi-file projects

Layout

Charts & diagrams

Scripting & control flow

Utilities

Slides

I/O

Native content

Value types

Built-in libraries

  • Paper: abstract, definitions, theorems, and more

Extra features

Inside Quarkdown

Clone this wiki locally