Introduction/functions-math

Float Add Function

Introduced in version 1.0

Add function adds two float values and returns the output to

another variable using VSTOCK library.


Example:

var_define->a = 2

var_define->b = 2

var_define->output = 0


vstock->fadd(a,b, output)

Float Subtract Function

Subtract function subtracts two float values and returns the output to

another variable using VSTOCK library.


Example:

var_define->a = 2

var_define->b = 2

var_define->output = 0


vstock->fsub(a,b, output)

Float Multiply Function

Multiply function multiplies two float values and returns the output to

another variable using VSTOCK library.


Example:

var_define->a = 2

var_define->b = 2

var_define->output = 0


vstock->fmult(a,b, output)

Float Divide Function

Divide function divides two float values and returns the output to

another variable using VSTOCK library.


Example:

var_define->a = 2

var_define->b = 2

var_define->output = 0


vstock->fdiv(a,b, output)

documentation

Outdated! Updates coming soon.