# Mathematical functions

Builtin mathematical functions such as trigonometrical functions, square roots, and so on, are available through built-in modules.

`def hypo (x: f32) (y: f32) = f32.sqrt (x*x + y*y)`

A module exists for every number type.

The Futhark Programming Language

Fork me on GitHub
High-performance purely functional data-parallel array programming

Source file: math-functions.fut
# Mathematical functions

## See also

Builtin mathematical functions such as trigonometrical functions, square roots, and so on, are available through built-in modules.

`def hypo (x: f32) (y: f32) = f32.sqrt (x*x + y*y)`

A module exists for every number type.