diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2005-04-02 18:06:11 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2005-04-02 18:06:11 +0000 |
commit | 8cd7694754bbe2b9e175186f2ff2e3d8502658ee (patch) | |
tree | 00a160ac5c7fb6cfd41570eb7d6c423cc0b33354 /regress/usr.bin | |
parent | 0dfbe0d4827533363f3ab777a2d77fa123c297fc (diff) |
Regressions for raise
Diffstat (limited to 'regress/usr.bin')
-rw-r--r-- | regress/usr.bin/dc/Makefile | 5 | ||||
-rw-r--r-- | regress/usr.bin/dc/t25.in | 17 | ||||
-rw-r--r-- | regress/usr.bin/dc/t25.out | 16 |
3 files changed, 36 insertions, 2 deletions
diff --git a/regress/usr.bin/dc/Makefile b/regress/usr.bin/dc/Makefile index 01597d39e68..62108c5077f 100644 --- a/regress/usr.bin/dc/Makefile +++ b/regress/usr.bin/dc/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.15 2005/03/29 10:54:56 otto Exp $ +# $OpenBSD: Makefile,v 1.16 2005/04/02 18:06:10 otto Exp $ DC=dc -x REGRESS_TARGETS=t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16 t17 \ - t18 t19 t20 t21 t22 t23 t24 + t18 t19 t20 t21 t22 t23 t24 t25 # .in: input file # .out: desired result @@ -32,6 +32,7 @@ REGRESS_TARGETS=t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16 t17 \ # t22: sqrt # t23: factorial 1000 # t24: line continuations +# t25: exp all: clean ${REGRESS_TARGET} diff --git a/regress/usr.bin/dc/t25.in b/regress/usr.bin/dc/t25.in new file mode 100644 index 00000000000..77117cc68b1 --- /dev/null +++ b/regress/usr.bin/dc/t25.in @@ -0,0 +1,17 @@ +5k +2 2^p +2 _2^p +_2 2^p +_2 _2^p +2 3^p +2 _3^p +_2 3^p +_2 _3^p +.2 2^p +.2 _2^p +_.2 2^p +_.2 _2^p +.2 3^p +.2 _3^p +_.2 3^p +_.2 _3^p diff --git a/regress/usr.bin/dc/t25.out b/regress/usr.bin/dc/t25.out new file mode 100644 index 00000000000..dcb8e089d01 --- /dev/null +++ b/regress/usr.bin/dc/t25.out @@ -0,0 +1,16 @@ +4 +.25000 +4 +.25000 +8 +.12500 +-8 +-.12500 +.04 +25.00000 +.04 +25.00000 +.008 +125.00000 +-.008 +-125.00000 |