C-Control II Station
10.5 lpt.c2
Die Digitalports der C-Control II Unit können u.a. als parallele Druckerschnittstelle benutzt
werden. Bei der Station ist diese Option nicht verfügbar, die Ports werden intern benutzt.
10.6 math.c2
10.6.1 Mathematische Standardfunktionen
Die Definitionen der Standardfunktionen haben die Form
function fx ( float x ) returns float
10.6.2 Potenzieren
function pow ( float x, float y ) returns float
Diese Funktion berechnet die y-Potenz zur Basis x (x y, "x hoch y").
10.6.3 Absolutwertfunktionen
Für jeden numerischen Datentyp (außer byte das entspricht int beim Funktionsaufruf)
gibt es eine Absolutwertfunktion:
function abs ( int value )
function labs ( long value )
function fabs ( float value )
10.6.4 Minimum-und Maximumfunktionen
Für jeden numerischen Datentyp (außer byte das entspricht int beim Funktionsaufruf)
gibt es eine Minimum-und eine Maximumfunktion:
function min ( int a, int b )
function lmin ( long a, long b )
function fmin ( float a, float b )
function max ( int a, int b )
function lmax ( long a, long b )
function fmax ( float a, float b )
102
returns int
returns long
returns float
returns int
returns long
returns float
returns int
returns long
returns float