From 00e2eb4fd0266c5be01e3a527a66aaad5ab4b634 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 07:47:37 +0200 Subject: Adding upstream version 0.19.0. Signed-off-by: Daniel Baumann --- test/04-function-abs.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 test/04-function-abs.txt (limited to 'test/04-function-abs.txt') diff --git a/test/04-function-abs.txt b/test/04-function-abs.txt new file mode 100644 index 0000000..ad60db3 --- /dev/null +++ b/test/04-function-abs.txt @@ -0,0 +1,20 @@ +%% Test for ABS function. +%mode init +A1=2 +A2=-4.2 +A3=9 +A4=-5.8 +B1=ABS(A1) +B2=ABS(A2) +B3=ABS(A3) +B4=ABS(A4) +B5=ABS(A2+A4) +%calc +%mode result +B1=2 +B2=4.2 +B3=9 +B4=5.8 +B5=10 +%check +%exit -- cgit v1.2.3