Math


Description:

public namespace Math

Binding to the C standard library's maths functions

When compiling binary output with valac and some libc implementations, such as GNU's libc, you will need to pass through the math library linker flags, -lm, if a function is not found. For example:

valac -X -lm my_maths_program.vala


Namespace: GLib.Math
Package: glib-2.0

Content:

Constants:

Methods: