FP_add Full Description |
|
Syntaxdefine external float function FP_add (value float x, value float y) Purpose Adds two floating point numbers and returns the sum. Overflow and underflow values will return infinity and zero, respectively. This sample shows how to use the basic floating point arithmetic function define external float function FP_add (value float x, value float y) define external float function FP_div (value float x, value float y) . . . set result to FP_add(x,y) ; adds x and y set speed to FP_div(distance,time) ; divides distance by time to determine speed |