Built-in Libraries
Nbcl comes with only one built-in library, that being the std lib (standard library).
std.math
nbl
import std.mathLibrary item providing additional math functionality past basic arithmetics.
Global Variables
pi: Value of PIe: Value of E
Functions
abs
Get the absolute value of an integer.
nbl
math.abs(-10) # result: 10sqrt
Get the square root of a floating number.
nbl
math.sqrt(36.0)pow
Get the 'x' power of a floating number.
nbl
math.pow(3.0, 3.0) # result: 9std.time
nbl
import std.timeLibrary item providing functions related with time.