python_builtin

python_builtin#

Implementation of builtin namespace in python.

Functions

copy

Copies its input value to each of its two outputs.

discard

Ignores its input value, has no outputs.

eq

Check two input values of the same type for equality, producing a boolean.

fadd

Add floats a and b together; a + b

fdiv

float division of a by b; a / b

fgeq

Check if a is greater than or equal to b; a >= b

fgt

Check if a is greater than b; a > b

fleq

Check if a is less than or equal to b; a <= b

float_to_int

Convert a float to an integer

flt

Check if a is less than b; a < b

fmod

Modulo of a by b; a % b

fmul

Multiply floats a and b together; a * b

fpow

Exponentiate a by power b; a ^ b

fsub

Subtract float b from float a; a - b

iadd

Add integers a and b together; a + b

idiv

Integer division of a by b; a / b

igeq

Check if a is greater than or equal to b; a >= b

igt

Check if a is greater than b; a > b

ileq

Check if a is less than or equal to b; a <= b

ilt

Check if a is less than b; a < b

imod

Modulo of a by b; a % b

imul

Multiply integers a and b together; a * b

insert_key

Transforms an input Map into an output by adding an entry (or replacing an existing one) for an input key and value.

int_to_float

Convert an integer to a float

ipow

Exponentiate a by power b; a ^ b.

isub

Subtract integer b from integer a; a - b

make_pair

Makes an output Pair from two separate inputs.

make_struct

Construct a struct from incoming ports.

neq

Check two values are not equal.

pop

Pops the first element from an input Vec, returning said element separately from the remainder Vec.

push

Adds an input element onto an input Vec to give an output Vec.

remove_key

Remove a key (input) from a map (input), return the map and value.

sleep

Identity function with an asynchronous delay input in seconds.

switch

Passes one or other of two inputs through according to a third, boolean, input.

unpack_pair

Splits an input Pair into two separate outputs.

xor

Check either a or b are true; a ^ b

Classes