C Functions

Attention

All of the C functions will only operate on arguments of the same C base types (or typedefs thereof).

You cannot mix C data types in an expression.

The C-variant primitives for +, -, * and / are called from the binary arithmetic primitives binary-+, binary–, binary-* and binary-/. They are not primitives exported from the C module.

function C/< n1 n2

in C, n1 < n2

Param n1:

number

Type n1:

C/ type

Param n2:

number

Type n2:

C/ type

n1 and n2 must be the same C type.

function C/<= n1 n2

in C, n1 <= n2

Param n1:

number

Type n1:

C/ type

Param n2:

number

Type n2:

C/ type

n1 and n2 must be the same C type.

function C/== n1 n2

in C, n1 == n2

Param n1:

number

Type n1:

C/ type

Param n2:

number

Type n2:

C/ type

n1 and n2 must be the same C type.

function C/!= n1 n2

in C, n1 != n2

Param n1:

number

Type n1:

C/ type

Param n2:

number

Type n2:

C/ type

n1 and n2 must be the same C type.

function C/>= n1 n2

in C, n1 >= n2

Param n1:

number

Type n1:

C/ type

Param n2:

number

Type n2:

C/ type

n1 and n2 must be the same C type.

function C/> n1 n2

in C, n1 > n2

Param n1:

number

Type n1:

C/ type

Param n2:

number

Type n2:

C/ type

n1 and n2 must be the same C type.

function C/& v1 [...]

perform a C bitwise-AND on v1 etc.

Param v1:

C integer

Type v1:

C/int

Return:

C integer

Rtype:

C/int

function C/| v1 [...]

perform a C bitwise-OR on v1 etc.

Param v1:

C integer

Type v1:

C/int

Return:

C integer

Rtype:

C/int

function C/^ v1 [...]

perform a C bitwise-XOR on v1 etc.

Param v1:

C integer

Type v1:

C/int

Return:

C integer

Rtype:

C/int

function C/~ v1

perform a C bitwise-complement on v1

Param v1:

C integer

Type v1:

C/int

Return:

C integer

Rtype:

C/int

Last built at 2024-05-17T06:10:41Z+0000 from 62cca4c (dev) for Idio 0.3.b.6