Echelon Neuron C User Manual

Page 67

Advertising
background image

Neuron C Reference Guide

47

Function

Description

fl_from_ulong( )

Convert an unsigned long number to a

floating-point number

fl_ge( )

Return TRUE if first argument is

greater than or equal to second

argument

fl_gt( )

Return TRUE if first argument is
greater than second argument

fl_le( )

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

fl_lt( )

Return TRUE if first argument is less
than second argument

fl_max( )

Find the maximum of two floating-
point numbers

fl_min( )

Find the minimum of two floating-point
numbers

fl_mul( )

Multiply two floating-point numbers

fl_mul2( )

Multiply a floating-point number by

two

fl_ne( )

Return TRUE if first argument is not

equal to second argument

fl_neg( )

Return the negative of a floating-point
number

fl_rand( )

Return a random floating-point
number

fl_round( )

Round a floating-point number to the
nearest whole number

fl_sign( )

Return the sign of a floating-point
number

fl_sqrt( )

Return the square root of a floating-
point number

fl_sub( )

Subtract two floating-point numbers

fl_to_ascii( )

Convert a floating-point number to an

ASCII string

Advertising