From 027f8843fc4e0f846d97e55394b52e9c818a92e4 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Mon, 21 Apr 2003 10:56:16 +0000 Subject: applied patch from Charles Bozeman fixing the math power function where * libexslt/math.c: applied patch from Charles Bozeman fixing the math power function where args were inverted #110996 * tests/exslt/math/Makefile.am tests/exslt/math/power.1.*: added the test to the regraession for #110996 * libexslt/sets.c: avoid a problem with nodesets. Daniel --- tests/exslt/math/Makefile.am | 1 + tests/exslt/math/power.1.out | 8 ++++++++ tests/exslt/math/power.1.xml | 8 ++++++++ tests/exslt/math/power.1.xsl | 19 +++++++++++++++++++ 4 files changed, 36 insertions(+) create mode 100644 tests/exslt/math/power.1.out create mode 100644 tests/exslt/math/power.1.xml create mode 100644 tests/exslt/math/power.1.xsl (limited to 'tests/exslt/math') diff --git a/tests/exslt/math/Makefile.am b/tests/exslt/math/Makefile.am index 878c0ddd..2e6a1e18 100644 --- a/tests/exslt/math/Makefile.am +++ b/tests/exslt/math/Makefile.am @@ -12,6 +12,7 @@ EXTRA_DIST = \ max.1.out max.1.xml max.1.xsl \ max.2.out max.2.xml max.2.xsl \ max.5.out max.5.xml max.5.xsl \ + prower.1.out power.1.xml power.1.xsl \ min.1.out min.1.xml min.1.xsl \ min.2.out min.2.xml min.2.xsl diff --git a/tests/exslt/math/power.1.out b/tests/exslt/math/power.1.out new file mode 100644 index 00000000..6c3f2671 --- /dev/null +++ b/tests/exslt/math/power.1.out @@ -0,0 +1,8 @@ + + + 1 + 7 + 2.85311670611e+11 + 256 + 243 + diff --git a/tests/exslt/math/power.1.xml b/tests/exslt/math/power.1.xml new file mode 100644 index 00000000..93e04018 --- /dev/null +++ b/tests/exslt/math/power.1.xml @@ -0,0 +1,8 @@ + + + 7 + 1 + 11 + 8 + 5 + diff --git a/tests/exslt/math/power.1.xsl b/tests/exslt/math/power.1.xsl new file mode 100644 index 00000000..aad0bd73 --- /dev/null +++ b/tests/exslt/math/power.1.xsl @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + -- cgit v1.2.3