Echelon Neuron C User Manual

Page 65

Advertising
background image

Neuron C Reference Guide

45

Function

Description

s32_div( )

Divide two signed 32-bit numbers

s32_div2( )

Divide a 32-bit signed number by 2

s32_eq( )

Return TRUE if first argument equals

second argument

s32_from_ascii( )

Convert an ASCII string into a 32-bit

signed number

s32_from_slong( )

Convert a signed long number into a
32-bit signed number

s32_from_ulong( )

Convert an unsigned long number into
a 32-bit signed number

s32_ge( )

Return TRUE if first argument is
greater than or equal to second

argument

s32_gt( )

Return TRUE if first argument is

greater than second argument

s32_inc( )

Increment a 32-bit signed number

s32_le( )

Return TRUE if first argument is less
than or equal to second argument

s32_lt( )

Return TRUE if first argument is less
than second argument

s32_max( )

Take the maximum of two signed 32-

bit numbers

s32_min( )

Take the minimum of two signed 32-bit

numbers

s32_mul( )

Multiply two signed 32-bit numbers

s32_mul2( )

Multiply a 32-bit signed number by 2

s32_ne( )

Return TRUE if first argument does

not equal second argument

s32_neg( )

Return the negative of a signed 32-bit

number

s32_rand( )

Return a random 32-bit signed number

Advertising