(* @NESTEDCOMMENTS := 'Yes' *) (* @PATH := '\/Mathematical\/Double Precision' *) (* @OBJECTFLAGS := '0, 8' *) (* @SYMFILEFLAGS := '2048' *) FUNCTION R2_MUL : REAL2 VAR_INPUT X : REAL2; Y : REAL; END_VAR (* version 1.0 20. mar. 2008 programmer hugo tested by tobias R2_mul multiplies a real with a double real which extends the accuracy of a real to twice as many digits *) (* @END_DECLARATION := '0' *) R2_MUL.RX := X.RX * Y; R2_MUL.R1 := X.R1 * Y; (* revision history hm 20.3.2008 rev 1.0 original version *) END_FUNCTION